From 0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 5 May 2009 17:46:20 +0200 Subject: s3:loadparm: use the returnvalue of service_ok() in process_smbconf_service(). Michael --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 7b794020a1..670746e913 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; } -- cgit