From 395aee409cf748d3f034a08ceebc497fe8e03e41 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Dec 2013 16:04:18 +1300 Subject: [PATCH] param: Rename variable used for lp_printcap_cache_time PrintcapCacheTime Signed-off-by: Andrew Bartlett Signed-off-by: Garming Sam Reviewed-by: Jeremy Allison --- lib/param/param_functions.c | 2 +- lib/param/param_table.c | 2 +- source3/param/loadparm.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 34630c48a4b..499226260e3 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 e4fa5672127..b5a5b90d60d 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 d5e7ae7825e..d06f6ef363a 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; -- 2.11.4.GIT