summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:04:08 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:59 -0800
commit64c3eeee82fd22998f50d5e48f95cb16e41c39c0 (patch)
tree60ca625b2dc1ae5a9048121ff8dac488adc66063 /source3/param/loadparm.c
parenta8a603b17e922b7f86305c0fcf419998bc19128b (diff)
downloadsamba-64c3eeee82fd22998f50d5e48f95cb16e41c39c0.tar.gz
samba-64c3eeee82fd22998f50d5e48f95cb16e41c39c0.tar.xz
samba-64c3eeee82fd22998f50d5e48f95cb16e41c39c0.zip
param: Rename variable used for lp_config_backend ConfigBackend
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3f92d549f6..7156d47928 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -808,7 +808,7 @@ static void init_globals(bool reinit_globals)
Globals.load_printers = true;
Globals.PrintcapCacheTime = 750; /* 12.5 minutes */
- Globals.ConfigBackend = config_backend;
+ Globals.config_backend = config_backend;
Globals.server_role = ROLE_AUTO;
/* Was 65535 (0xFFFF). 0x4101 matches W2K and causes major speed improvements... */
@@ -4865,7 +4865,7 @@ static bool lp_load_ex(const char *pszFname,
/*
* We need to use this extra global variable here to
* survive restart: init_globals uses this as a default
- * for ConfigBackend. Otherwise, init_globals would
+ * for config_backend. Otherwise, init_globals would
* send us into an endless loop here.
*/
config_backend = CONFIG_BACKEND_REGISTRY;