mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
param: Rename variable used for lp_timestamp_logs bTimestampLogs
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:
parent
cf3b40bdb8
commit
f0565a835e
@ -2314,7 +2314,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
|
||||
* future here */
|
||||
settings.syslog = lp_ctx->globals->syslog;
|
||||
settings.syslog_only = lp_ctx->globals->syslog_only;
|
||||
settings.timestamp_logs = lp_ctx->globals->bTimestampLogs;
|
||||
settings.timestamp_logs = lp_ctx->globals->timestamp_logs;
|
||||
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;
|
||||
|
@ -212,7 +212,7 @@ FN_GLOBAL_BOOL(reset_on_zero_vc, reset_on_zero_vc)
|
||||
FN_GLOBAL_BOOL(rpc_big_endian, rpc_big_endian)
|
||||
FN_GLOBAL_BOOL(stat_cache, stat_cache)
|
||||
FN_GLOBAL_BOOL(syslog_only, syslog_only)
|
||||
FN_GLOBAL_BOOL(timestamp_logs, bTimestampLogs)
|
||||
FN_GLOBAL_BOOL(timestamp_logs, timestamp_logs)
|
||||
FN_GLOBAL_BOOL(time_server, bTimeServer)
|
||||
FN_GLOBAL_BOOL(tls_enabled, tls_enabled)
|
||||
FN_GLOBAL_BOOL(unicode, bUnicode)
|
||||
|
@ -1193,7 +1193,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "debug timestamp",
|
||||
.type = P_BOOL,
|
||||
.p_class = P_GLOBAL,
|
||||
.offset = GLOBAL_VAR(bTimestampLogs),
|
||||
.offset = GLOBAL_VAR(timestamp_logs),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED,
|
||||
@ -1202,7 +1202,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "timestamp logs",
|
||||
.type = P_BOOL,
|
||||
.p_class = P_GLOBAL,
|
||||
.offset = GLOBAL_VAR(bTimestampLogs),
|
||||
.offset = GLOBAL_VAR(timestamp_logs),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED,
|
||||
|
@ -841,7 +841,7 @@ static void init_globals(bool reinit_globals)
|
||||
Globals.obey_pam_restrictions = false;
|
||||
Globals.syslog = 1;
|
||||
Globals.syslog_only = false;
|
||||
Globals.bTimestampLogs = true;
|
||||
Globals.timestamp_logs = true;
|
||||
string_set(&Globals.loglevel, "0");
|
||||
Globals.debug_prefix_timestamp = false;
|
||||
Globals.debug_hires_timestamp = true;
|
||||
|
Loading…
Reference in New Issue
Block a user