From: Michael Adam Date: Tue, 5 May 2009 15:46:20 +0000 (+0200) Subject: s3:loadparm: use the returnvalue of service_ok() in process_smbconf_service(). X-Git-Tag: tdb-1.1.5~732 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2;p=thirdparty%2Fsamba.git s3:loadparm: use the returnvalue of service_ok() in process_smbconf_service(). Michael --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 7b794020a1d..670746e9133 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -6819,7 +6819,7 @@ static bool process_smbconf_service(struct smbconf_service *service) } } if (iServiceIndex >= 0) { - ret = service_ok(iServiceIndex); + return service_ok(iServiceIndex); } return true; }