1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

param: Rename variable used for lp_debug_prefix_timestamp bDebugPrefixTimestamp

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andrew Bartlett
2013-12-24 16:03:45 +13:00
committed by Jeremy Allison
parent b8ccd205ee
commit bb2e4bd78f
4 changed files with 4 additions and 4 deletions

View 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;

View 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)

View 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,

View 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;