summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:16 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:42 -0800
commit4a9b91cd05700c27b4434e79b3c67ed8513d390e (patch)
tree23240f139f416f3f6b60b14b6fcbc2290d14353f /lib/param/param_table.c
parent1abe45faac1454662ad0272f5511cf6cc93eecb0 (diff)
downloadsamba-4a9b91cd05700c27b4434e79b3c67ed8513d390e.tar.gz
samba-4a9b91cd05700c27b4434e79b3c67ed8513d390e.tar.xz
samba-4a9b91cd05700c27b4434e79b3c67ed8513d390e.zip
param: Rename variable used for lp_hostsallow szHostsallow
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
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 dcd8f3efd2..22d447b747 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(szHostsallow),
+ .offset = LOCAL_VAR(hostsallow),
.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(szHostsallow),
+ .offset = LOCAL_VAR(hostsallow),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,