From 13329112e9fc259a55dc43b6406fb86540784bca Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 21 Jul 2011 14:05:24 +0200 Subject: s3:loadparm: rename parameter "allow_registry_shares" to "load_all_shares" --- source3/param/loadparm.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 6cab934aec..32aaed4fdb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8965,7 +8965,7 @@ static bool lp_load_ex(const char *pszFname, bool add_ipc, bool initialize_globals, bool allow_include_registry, - bool allow_registry_shares) + bool load_all_shares) { char *n2 = NULL; bool bRetval; @@ -9032,7 +9032,7 @@ static bool lp_load_ex(const char *pszFname, return lp_load_ex(pszFname, global_only, save_defaults, add_ipc, initialize_globals, allow_include_registry, - allow_registry_shares); + load_all_shares); } } else if (lp_config_backend_is_registry()) { bRetval = process_registry_globals(); @@ -9043,7 +9043,7 @@ static bool lp_load_ex(const char *pszFname, } if (bRetval && lp_registry_shares()) { - if (allow_registry_shares) { + if (load_all_shares) { bRetval = process_registry_shares(); } else { bRetval = reload_registry_shares(); @@ -9104,7 +9104,7 @@ bool lp_load(const char *pszFname, add_ipc, initialize_globals, true, /* allow_include_registry */ - false); /* allow_registry_shares*/ + false); /* load_all_shares*/ } bool lp_load_initial_only(const char *pszFname) @@ -9115,7 +9115,7 @@ bool lp_load_initial_only(const char *pszFname) false, /* add_ipc */ true, /* initialize_globals */ false, /* allow_include_registry */ - false); /* allow_registry_shares*/ + false); /* load_all_shares*/ } bool lp_load_with_registry_shares(const char *pszFname, @@ -9130,7 +9130,7 @@ bool lp_load_with_registry_shares(const char *pszFname, add_ipc, initialize_globals, true, /* allow_include_registry */ - true); /* allow_registry_shares*/ + true); /* load_all_shares*/ } /*************************************************************************** -- cgit