summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:19 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:43 -0800
commit79919eacbd0248563fde429e2c9adecccba8a1eb (patch)
tree1c13ea47b530902f791119cbd7e76c06da3122d9 /lib
parent4f0c831e2b4166abf891581b0aeb479e931b9b98 (diff)
param: Rename variable used for lp_max_connections iMaxConnections
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')
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 1839e3cabb..d70268bb1a 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -41,7 +41,7 @@ FN_LOCAL_BOOL(map_archive, map_archive)
FN_LOCAL_BOOL(oplocks, oplocks)
FN_LOCAL_BOOL(strict_sync, strict_sync)
FN_LOCAL_BOOL(map_system, map_system)
-FN_LOCAL_INTEGER(max_connections, iMaxConnections)
+FN_LOCAL_INTEGER(max_connections, max_connections)
FN_LOCAL_INTEGER(csc_policy, iCSCPolicy)
FN_LOCAL_INTEGER(create_mask, iCreate_mask)
FN_LOCAL_INTEGER(force_create_mode, iCreate_force_mode)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 7c39063e61..7f6798438c 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1812,7 +1812,7 @@ static struct parm_struct parm_table[] = {
.label = "max connections",
.type = P_INTEGER,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(iMaxConnections),
+ .offset = LOCAL_VAR(max_connections),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE,