param: Rename variable used for lp_debug_uid bDebugUid
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 90ecaf16278ed3dda30504df60477cddd450cde0..2d91fcb56e77aa6cbf971d281d16552d45ae0260 100644 (file)
@@ -2318,7 +2318,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
        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;
+       settings.debug_uid = lp_ctx->globals->debug_uid;
        settings.debug_class = lp_ctx->globals->debug_class;
        debug_set_settings(&settings);
 
index 5f748c01b63c7f4207209b0528a951a0643e92a1..f0d0949a5ef5ad31e6e6f84546cd8263f5bca121 100644 (file)
@@ -170,7 +170,7 @@ 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, debug_prefix_timestamp)
-FN_GLOBAL_BOOL(debug_uid, bDebugUid)
+FN_GLOBAL_BOOL(debug_uid, debug_uid)
 FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations)
 FN_GLOBAL_BOOL(disable_netbios, bDisableNetbios)
 FN_GLOBAL_BOOL(_disable_spoolss, bDisableSpoolss)
index 78cbd1f8992478b00f2e33372cf3e839a9614014..2fb165f1d9ea3f671c9f3c453caca8430a2a43c1 100644 (file)
@@ -1238,7 +1238,7 @@ static struct parm_struct parm_table[] = {
                .label          = "debug uid",
                .type           = P_BOOL,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(bDebugUid),
+               .offset         = GLOBAL_VAR(debug_uid),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
index 8bf4f9c4b373c77c64a4db36f6ca2f3b3c77a9f0..77df3a2865630dcaf6312e5666e62637aad25361 100644 (file)
@@ -846,7 +846,7 @@ static void init_globals(bool reinit_globals)
        Globals.debug_prefix_timestamp = false;
        Globals.debug_hires_timestamp = true;
        Globals.debug_pid = false;
-       Globals.bDebugUid = false;
+       Globals.debug_uid = false;
        Globals.debug_class = false;
        Globals.bEnableCoreFiles = true;
        Globals.max_ttl = 60 * 60 * 24 * 3;     /* 3 days default. */