summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-03-21 09:33:01 +1300
committerMichael Adam <obnox@samba.org>2014-07-31 08:17:11 +0200
commitbc46178831e4bc748862254a6f994ea14d82a877 (patch)
tree4b015fd98176c9007d7cdf54d50f7ed844b5468f /source3/param
parentad7be09149ace0d810fe5828ee34e76f92e3dcf1 (diff)
downloadsamba-bc46178831e4bc748862254a6f994ea14d82a877.tar.gz
samba-bc46178831e4bc748862254a6f994ea14d82a877.tar.xz
samba-bc46178831e4bc748862254a6f994ea14d82a877.zip
param: use lpcfg_service_ok in s3 loadparm
Change-Id: Ic157d3f5ec7ac9a72db86239e76cd743149cb8e0 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index cbf372deec..48808779f2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2102,7 +2102,7 @@ static bool process_smbconf_service(struct smbconf_service *service)
}
}
if (iServiceIndex >= 0) {
- return service_ok(iServiceIndex);
+ return lpcfg_service_ok(ServicePtrs[iServiceIndex]);
}
return true;
}
@@ -2754,7 +2754,7 @@ bool lp_do_section(const char *pszSectionName, void *userdata)
bRetval = true;
if (iServiceIndex >= 0)
- bRetval = service_ok(iServiceIndex);
+ bRetval = lpcfg_service_ok(ServicePtrs[iServiceIndex]);
/* if all is still well, move to the next record in the services array */
if (bRetval) {
@@ -3935,7 +3935,7 @@ static bool lp_load_ex(const char *pszFname,
DEBUG(4, ("pm_process() returned %s\n", BOOLSTR(bRetval)));
if (bRetval) {
if (iServiceIndex >= 0) {
- bRetval = service_ok(iServiceIndex);
+ bRetval = lpcfg_service_ok(ServicePtrs[iServiceIndex]);
}
}