mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
param: Rename variable used for lp_debug_class bDebugClass
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
eb4eadadf0
commit
0a925317a0
@ -2319,7 +2319,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
|
||||
settings.debug_hires_timestamp = lp_ctx->globals->bDebugHiresTimestamp;
|
||||
settings.debug_pid = lp_ctx->globals->bDebugPid;
|
||||
settings.debug_uid = lp_ctx->globals->bDebugUid;
|
||||
settings.debug_class = lp_ctx->globals->bDebugClass;
|
||||
settings.debug_class = lp_ctx->globals->debug_class;
|
||||
debug_set_settings(&settings);
|
||||
|
||||
/* FIXME: This is a bit of a hack, but we can't use a global, since
|
||||
|
@ -166,7 +166,7 @@ FN_GLOBAL_BOOL(client_use_spnego, client_use_spnego)
|
||||
FN_GLOBAL_BOOL(client_use_spnego_principal, client_use_spnego_principal)
|
||||
FN_GLOBAL_BOOL(clustering, clustering)
|
||||
FN_GLOBAL_BOOL(create_krb5_conf, create_krb5_conf)
|
||||
FN_GLOBAL_BOOL(debug_class, bDebugClass)
|
||||
FN_GLOBAL_BOOL(debug_class, debug_class)
|
||||
FN_GLOBAL_BOOL(debug_hires_timestamp, bDebugHiresTimestamp)
|
||||
FN_GLOBAL_BOOL(debug_pid, bDebugPid)
|
||||
FN_GLOBAL_BOOL(debug_prefix_timestamp, bDebugPrefixTimestamp)
|
||||
|
@ -1247,7 +1247,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "debug class",
|
||||
.type = P_BOOL,
|
||||
.p_class = P_GLOBAL,
|
||||
.offset = GLOBAL_VAR(bDebugClass),
|
||||
.offset = GLOBAL_VAR(debug_class),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED,
|
||||
|
@ -847,7 +847,7 @@ static void init_globals(bool reinit_globals)
|
||||
Globals.bDebugHiresTimestamp = true;
|
||||
Globals.bDebugPid = false;
|
||||
Globals.bDebugUid = false;
|
||||
Globals.bDebugClass = false;
|
||||
Globals.debug_class = false;
|
||||
Globals.bEnableCoreFiles = true;
|
||||
Globals.max_ttl = 60 * 60 * 24 * 3; /* 3 days default. */
|
||||
Globals.max_wins_ttl = 60 * 60 * 24 * 6; /* 6 days default. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user