summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-07-21 14:07:25 +0200
committerJeremy Allison <jra@samba.org>2015-07-31 01:55:30 +0200
commit20c84b8d03fffb92e26e69f7284e36b1b6dccf3b (patch)
tree77a4889cf886c4ae7e44bf7b6f3629b7e78f8305 /lib
parentc377f630265856dbb6b3f581c3a6a227e4498129 (diff)
downloadsamba-20c84b8d03fffb92e26e69f7284e36b1b6dccf3b.tar.gz
param: rename iPreferredMaster -> _preferred_master
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/param/loadparm.h2
-rw-r--r--lib/param/param_table.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h
index 933931f627a..c49d1314f95 100644
--- a/lib/param/loadparm.h
+++ b/lib/param/loadparm.h
@@ -252,7 +252,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
int iminreceivefile; \
char *szPrintcapname; \
int CupsEncrypt; \
- int iPreferredMaster; \
+ int _preferred_master; \
char *szIdmapUID; \
char *szIdmapGID; \
char *szIdmapBackend; \
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index a6a96d467e6..4edd1676e8e 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -2576,7 +2576,7 @@ struct parm_struct parm_table[] = {
.label = "preferred master",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(iPreferredMaster),
+ .offset = GLOBAL_VAR(_preferred_master),
.special = NULL,
.enum_list = enum_bool_auto,
},
@@ -2584,7 +2584,7 @@ struct parm_struct parm_table[] = {
.label = "prefered master",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(iPreferredMaster),
+ .offset = GLOBAL_VAR(_preferred_master),
.special = NULL,
.enum_list = enum_bool_auto,
.flags = FLAG_SYNONYM,