mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s3:loadparm: untangle assignment from check in do_section()
This commit is contained in:
parent
fb766cd597
commit
2568a8b463
@ -7674,8 +7674,8 @@ static bool do_section(const char *pszSectionName, void *userdata)
|
||||
/* issued by the post-processing of a previous section. */
|
||||
DEBUG(2, ("Processing section \"[%s]\"\n", pszSectionName));
|
||||
|
||||
if ((iServiceIndex = add_a_service(&sDefault, pszSectionName))
|
||||
< 0) {
|
||||
iServiceIndex = add_a_service(&sDefault, pszSectionName);
|
||||
if (iServiceIndex < 0) {
|
||||
DEBUG(0, ("Failed to add a new service\n"));
|
||||
return (false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user