summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-09 23:22:11 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-11 13:41:34 +1100
commit15c97a8ab36bda23ed08aacfd318b5717c53b20f (patch)
treeca1768b06706b848eea86d8f4c083b0848604fea /lib
parentd0ecd1a59f2c577a75ee38c8b54d7b0fb82bdc7c (diff)
downloadsamba-15c97a8ab36bda23ed08aacfd318b5717c53b20f.tar.gz
samba-15c97a8ab36bda23ed08aacfd318b5717c53b20f.tar.bz2
samba-15c97a8ab36bda23ed08aacfd318b5717c53b20f.zip
lib/param Avoid the use of the name service_ok() which is used in the s3 param code
Diffstat (limited to 'lib')
-rw-r--r--lib/param/loadparm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index f173131d66..e8eb685d15 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -1574,7 +1574,7 @@ static struct loadparm_service *getservicebyname(struct loadparm_context *lp_ctx
static void copy_service(struct loadparm_service *pserviceDest,
struct loadparm_service *pserviceSource,
struct bitmap *pcopymapDest);
-static bool service_ok(struct loadparm_service *service);
+static bool lpcfg_service_ok(struct loadparm_service *service);
static bool do_section(const char *pszSectionName, void *);
static void init_copymap(struct loadparm_service *pservice);
@@ -2190,7 +2190,7 @@ static 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 service_ok(struct loadparm_service *service)
+static bool lpcfg_service_ok(struct loadparm_service *service)
{
bool bRetval;
@@ -2955,7 +2955,7 @@ static bool do_section(const char *pszSectionName, void *userdata)
bRetval = true;
if (lp_ctx->currentService != NULL)
- bRetval = service_ok(lp_ctx->currentService);
+ bRetval = lpcfg_service_ok(lp_ctx->currentService);
/* if all is still well, move to the next record in the services array */
if (bRetval) {
@@ -3550,7 +3550,7 @@ bool lpcfg_load(struct loadparm_context *lp_ctx, const char *filename)
DEBUG(4, ("pm_process() returned %s\n", BOOLSTR(bRetval)));
if (bRetval)
if (lp_ctx->currentService != NULL)
- bRetval = service_ok(lp_ctx->currentService);
+ bRetval = lpcfg_service_ok(lp_ctx->currentService);
bRetval = bRetval && lpcfg_update(lp_ctx);