param: Rename variable used for lp_debug_prefix_timestamp bDebugPrefixTimestamp
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:03:45 +0000 (16:03 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:18:51 +0000 (16:18 -0800)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/loadparm.c
lib/param/param_functions.c
lib/param/param_table.c
source3/param/loadparm.c

index 7fcd32755e1f25ceb7f61c92960a1c3b964bc699..90ecaf16278ed3dda30504df60477cddd450cde0 100644 (file)
@@ -2315,7 +2315,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
        settings.syslog = lp_ctx->globals->syslog;
        settings.syslog_only = lp_ctx->globals->bSyslogOnly;
        settings.timestamp_logs = lp_ctx->globals->bTimestampLogs;
-       settings.debug_prefix_timestamp = lp_ctx->globals->bDebugPrefixTimestamp;
+       settings.debug_prefix_timestamp = lp_ctx->globals->debug_prefix_timestamp;
        settings.debug_hires_timestamp = lp_ctx->globals->debug_hires_timestamp;
        settings.debug_pid = lp_ctx->globals->debug_pid;
        settings.debug_uid = lp_ctx->globals->bDebugUid;
index fd88adf6a6227a2da98caff5dedb3e8fca46e36e..5f748c01b63c7f4207209b0528a951a0643e92a1 100644 (file)
@@ -169,7 +169,7 @@ FN_GLOBAL_BOOL(create_krb5_conf, create_krb5_conf)
 FN_GLOBAL_BOOL(debug_class, debug_class)
 FN_GLOBAL_BOOL(debug_hires_timestamp, debug_hires_timestamp)
 FN_GLOBAL_BOOL(debug_pid, debug_pid)
-FN_GLOBAL_BOOL(debug_prefix_timestamp, bDebugPrefixTimestamp)
+FN_GLOBAL_BOOL(debug_prefix_timestamp, debug_prefix_timestamp)
 FN_GLOBAL_BOOL(debug_uid, bDebugUid)
 FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations)
 FN_GLOBAL_BOOL(disable_netbios, bDisableNetbios)
index 9c8e1029ba6c660c24bbed8415a7f67573217f1b..78cbd1f8992478b00f2e33372cf3e839a9614014 100644 (file)
@@ -1211,7 +1211,7 @@ static struct parm_struct parm_table[] = {
                .label          = "debug prefix timestamp",
                .type           = P_BOOL,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(bDebugPrefixTimestamp),
+               .offset         = GLOBAL_VAR(debug_prefix_timestamp),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
index 467290f65393cd71fb81b47e734d896a9dd4d6ec..8bf4f9c4b373c77c64a4db36f6ca2f3b3c77a9f0 100644 (file)
@@ -843,7 +843,7 @@ static void init_globals(bool reinit_globals)
        Globals.bSyslogOnly = false;
        Globals.bTimestampLogs = true;
        string_set(&Globals.loglevel, "0");
-       Globals.bDebugPrefixTimestamp = false;
+       Globals.debug_prefix_timestamp = false;
        Globals.debug_hires_timestamp = true;
        Globals.debug_pid = false;
        Globals.bDebugUid = false;