summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:04:18 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:59 -0800
commit395aee409cf748d3f034a08ceebc497fe8e03e41 (patch)
treefb76f87004c11274b06ed5db72ec7eb210c7b3a3
parent76f1ab4acd8b2e8e7f441802c5c31e713f0ff572 (diff)
downloadsamba-395aee409cf748d3f034a08ceebc497fe8e03e41.tar.gz
samba-395aee409cf748d3f034a08ceebc497fe8e03e41.tar.xz
samba-395aee409cf748d3f034a08ceebc497fe8e03e41.zip
param: Rename variable used for lp_printcap_cache_time PrintcapCacheTime
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 34630c48a4..499226260e 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -326,7 +326,7 @@ FN_GLOBAL_INTEGER(open_files_db_hash_size, open_files_db_hash_size)
FN_GLOBAL_INTEGER(oplock_break_wait_time, oplock_break_wait_time)
FN_GLOBAL_INTEGER(os_level, os_level)
FN_GLOBAL_INTEGER(passwd_chat_timeout, passwd_chat_timeout)
-FN_GLOBAL_INTEGER(printcap_cache_time, PrintcapCacheTime)
+FN_GLOBAL_INTEGER(printcap_cache_time, printcap_cache_time)
FN_GLOBAL_INTEGER(restrict_anonymous, restrict_anonymous)
FN_GLOBAL_INTEGER(_security, security)
FN_GLOBAL_INTEGER(_server_role, server_role)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index e4fa567212..b5a5b90d60 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -2049,7 +2049,7 @@ static struct parm_struct parm_table[] = {
.label = "printcap cache time",
.type = P_INTEGER,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(PrintcapCacheTime),
+ .offset = GLOBAL_VAR(printcap_cache_time),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_PRINT,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d5e7ae7825..d06f6ef363 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -806,7 +806,7 @@ static void init_globals(bool reinit_globals)
Globals.algorithmic_rid_base = BASE_RID;
Globals.load_printers = true;
- Globals.PrintcapCacheTime = 750; /* 12.5 minutes */
+ Globals.printcap_cache_time = 750; /* 12.5 minutes */
Globals.config_backend = config_backend;
Globals.server_role = ROLE_AUTO;