summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-02 14:24:10 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-02-03 13:26:56 +1300
commit974ad7ca7e213c89706fe51b6f09a419a1e7aa35 (patch)
tree18eeec34e1220b6b20287dbffc2f5ad77f96a249 /lib/param/param_table.c
parentcdb6af95dd744869a743d8ca82682e1fd11b3382 (diff)
downloadsamba-974ad7ca7e213c89706fe51b6f09a419a1e7aa35.tar.gz
samba-974ad7ca7e213c89706fe51b6f09a419a1e7aa35.tar.xz
samba-974ad7ca7e213c89706fe51b6f09a419a1e7aa35.zip
loadparm: rename variable for "hosts deny" from hostsdeny to hosts_deny
for consistency docs/functions/variables 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 b6b11f92cf..d3782544ee 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1081,7 +1081,7 @@ static struct parm_struct parm_table[] = {
.label = "hosts deny",
.type = P_LIST,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(hostsdeny),
+ .offset = LOCAL_VAR(hosts_deny),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_GLOBAL | FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT,
@@ -1090,7 +1090,7 @@ static struct parm_struct parm_table[] = {
.label = "deny hosts",
.type = P_LIST,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(hostsdeny),
+ .offset = LOCAL_VAR(hosts_deny),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,