summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-02 14:15:57 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-02-03 13:26:46 +1300
commitc48c4daf4a28e91db1047a1e3e9e2ab1d259735f (patch)
tree305d9dbfd5307d1c60bba754aabcc427294b0b95 /lib/param/param_table.c
parent4670c43b3228d39422ce01d0e65544de4e723d25 (diff)
downloadsamba-c48c4daf4a28e91db1047a1e3e9e2ab1d259735f.tar.gz
samba-c48c4daf4a28e91db1047a1e3e9e2ab1d259735f.tar.xz
samba-c48c4daf4a28e91db1047a1e3e9e2ab1d259735f.zip
loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
for consistency docs/function/variable Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r--lib/param/param_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 2328e7583a..b6b11f92cf 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1063,7 +1063,7 @@ static struct parm_struct parm_table[] = {
.label = "hosts allow",
.type = P_LIST,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(hostsallow),
+ .offset = LOCAL_VAR(hosts_allow),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_GLOBAL | FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT,
@@ -1072,7 +1072,7 @@ static struct parm_struct parm_table[] = {
.label = "allow hosts",
.type = P_LIST,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(hostsallow),
+ .offset = LOCAL_VAR(hosts_allow),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,