summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-05-05 17:46:20 +0200
committerMichael Adam <obnox@samba.org>2009-05-05 17:58:00 +0200
commit0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2 (patch)
treeb52b17e0957ba2b41c4e6f2572e3210eb3db7843 /source3/param
parentb58abb262c33dd5cd9cfb3397333c0c1f5e91592 (diff)
downloadsamba-0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2.tar.gz
samba-0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2.tar.bz2
samba-0ca795ef4fab1f880c2b76d7fe8f0aabb302b6e2.zip
s3:loadparm: use the returnvalue of service_ok() in process_smbconf_service().
Michael
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
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;
}