diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-03-21 09:33:01 +1300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-07-31 08:17:11 +0200 |
commit | bc46178831e4bc748862254a6f994ea14d82a877 (patch) | |
tree | 4b015fd98176c9007d7cdf54d50f7ed844b5468f /lib/param | |
parent | ad7be09149ace0d810fe5828ee34e76f92e3dcf1 (diff) | |
download | samba-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 'lib/param')
-rw-r--r-- | lib/param/loadparm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 2d9bee2ab6..12bb120901 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -229,7 +229,6 @@ FN_GLOBAL_CONST_STRING(dnsdomain, dnsdomain) /* local prototypes */ static struct loadparm_service *lpcfg_getservicebyname(struct loadparm_context *lp_ctx, const char *pszServiceName); -static bool lpcfg_service_ok(struct loadparm_service *service); static bool do_section(const char *pszSectionName, void *); static bool set_variable_helper(TALLOC_CTX *mem_ctx, int parmnum, void *parm_ptr, const char *pszParmName, const char *pszParmValue); @@ -932,7 +931,7 @@ void copy_service(struct loadparm_service *pserviceDest, * Check a service for consistency. Return False if the service is in any way * incomplete or faulty, else True. */ -static bool lpcfg_service_ok(struct loadparm_service *service) +bool lpcfg_service_ok(struct loadparm_service *service) { bool bRetval; |