s3:loadparm: use the returnvalue of service_ok() in process_smbconf_service().
authorMichael Adam <obnox@samba.org>
Tue, 5 May 2009 15:46:20 +0000 (17:46 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 5 May 2009 19:59:34 +0000 (21:59 +0200)
Michael
(cherry picked from commit 0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2)

source3/param/loadparm.c

index 27f1dbb5b0822c53f0edb10fb2a92e0d1763641c..26f3214571ae7fd9cb8294db75f6c08effbdbbff 100644 (file)
@@ -6785,7 +6785,7 @@ static bool process_smbconf_service(struct smbconf_service *service)
                }
        }
        if (iServiceIndex >= 0) {
-               ret = service_ok(iServiceIndex);
+               return service_ok(iServiceIndex);
        }
        return true;
 }