param: Rename variable used for lp_unicode bUnicode
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:03:55 +0000 (16:03 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:18:55 +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/param_functions.c
lib/param/param_table.c
source3/param/loadparm.c

index 8c45622b27270fbc19a46825a24081b2ed524003..e44cc8da52eceb868fd681ab9809bc9ede5696c2 100644 (file)
@@ -215,7 +215,7 @@ FN_GLOBAL_BOOL(syslog_only, syslog_only)
 FN_GLOBAL_BOOL(timestamp_logs, timestamp_logs)
 FN_GLOBAL_BOOL(time_server, time_server)
 FN_GLOBAL_BOOL(tls_enabled, tls_enabled)
-FN_GLOBAL_BOOL(unicode, bUnicode)
+FN_GLOBAL_BOOL(unicode, unicode)
 FN_GLOBAL_BOOL(unix_extensions, bUnixExtensions)
 FN_GLOBAL_BOOL(unix_password_sync, bUnixPasswdSync)
 FN_GLOBAL_BOOL(use_mmap, bUseMmap)
index 3246904735f5b51e6cc88eb60331ec75cc715d46..9bdb7a117deb02492d45b2f9ae97204b9277a66a 100644 (file)
@@ -1385,7 +1385,7 @@ static struct parm_struct parm_table[] = {
                .label          = "unicode",
                .type           = P_BOOL,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(bUnicode),
+               .offset         = GLOBAL_VAR(unicode),
                .special        = NULL,
                .enum_list      = NULL
        },
index 420b2f97deb48dc20494ba1b7b1c1848d9da6264..09f2988fc3a943d4608ac8870938255eb89d5419 100644 (file)
@@ -890,7 +890,7 @@ static void init_globals(bool reinit_globals)
 #else
        Globals.bUseMmap = true;
 #endif
-       Globals.bUnicode = true;
+       Globals.unicode = true;
        Globals.bUnixExtensions = true;
        Globals.reset_on_zero_vc = false;
        Globals.log_writeable_files_on_exit = false;