diff options
author | Michael Adam <obnox@samba.org> | 2011-07-20 16:48:07 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-21 17:24:16 +0200 |
commit | 2568a8b4635bb7fb76dbd4bdd5eb2decb09f708a (patch) | |
tree | 6d988198b19a0bf2736fcfacdcd29a791ce3a2a3 /source3/param | |
parent | fb766cd597dd0579f00ce3ca0acb5a422804d901 (diff) | |
download | samba-2568a8b4635bb7fb76dbd4bdd5eb2decb09f708a.tar.gz samba-2568a8b4635bb7fb76dbd4bdd5eb2decb09f708a.tar.bz2 samba-2568a8b4635bb7fb76dbd4bdd5eb2decb09f708a.zip |
s3:loadparm: untangle assignment from check in do_section()
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); } |