param: Rename variable used for lp_syslog_only bSyslogOnly
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:03:54 +0000 (16:03 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:18:54 +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 2d91fcb56e77aa6cbf971d281d16552d45ae0260..a2af6bc7ffdfcfe09b7986610c0973167dc887cb 100644 (file)
@@ -2313,7 +2313,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
        /* Add any more debug-related smb.conf parameters created in
         * future here */
        settings.syslog = lp_ctx->globals->syslog;
-       settings.syslog_only = lp_ctx->globals->bSyslogOnly;
+       settings.syslog_only = lp_ctx->globals->syslog_only;
        settings.timestamp_logs = lp_ctx->globals->bTimestampLogs;
        settings.debug_prefix_timestamp = lp_ctx->globals->debug_prefix_timestamp;
        settings.debug_hires_timestamp = lp_ctx->globals->debug_hires_timestamp;
index e188047a119b5271f147ae3df14d6a399c905b40..c23bc5ece8d7c0a786e6d386a488a26649b11fbc 100644 (file)
@@ -211,7 +211,7 @@ FN_GLOBAL_BOOL(require_strong_key, require_strong_key)
 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, bSyslogOnly)
+FN_GLOBAL_BOOL(syslog_only, syslog_only)
 FN_GLOBAL_BOOL(timestamp_logs, bTimestampLogs)
 FN_GLOBAL_BOOL(time_server, bTimeServer)
 FN_GLOBAL_BOOL(tls_enabled, tls_enabled)
index 7eaf2e1b2a96cd401921270439aa62108ef6e91b..d5425eb8425d27cfe6741bece35ad93424a15ca8 100644 (file)
@@ -1166,7 +1166,7 @@ static struct parm_struct parm_table[] = {
                .label          = "syslog only",
                .type           = P_BOOL,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(bSyslogOnly),
+               .offset         = GLOBAL_VAR(syslog_only),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
index be8fc42c81ca520f767d5761340a518081cb041c..5e7a8403f22accc183576b232ea99d6834264f60 100644 (file)
@@ -840,7 +840,7 @@ static void init_globals(bool reinit_globals)
        Globals.null_passwords = false;
        Globals.obey_pam_restrictions = false;
        Globals.syslog = 1;
-       Globals.bSyslogOnly = false;
+       Globals.syslog_only = false;
        Globals.bTimestampLogs = true;
        string_set(&Globals.loglevel, "0");
        Globals.debug_prefix_timestamp = false;