diff options
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 3b4ff6a799..875aa6ed75 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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); } |