From 79919eacbd0248563fde429e2c9adecccba8a1eb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Dec 2013 16:03:19 +1300 Subject: param: Rename variable used for lp_max_connections iMaxConnections Signed-off-by: Andrew Bartlett Signed-off-by: Garming Sam Reviewed-by: Jeremy Allison --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index a98b107806..dd95e941fb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -194,7 +194,7 @@ static struct loadparm_service sDefault = .iCreate_force_mode = 0, .iDir_mask = 0755, .iDir_force_mode = 0, - .iMaxConnections = 0, + .max_connections = 0, .iDefaultCase = CASE_LOWER, .iPrinting = DEFAULT_PRINTING, .iOplockContentionLimit = 2, @@ -1740,7 +1740,7 @@ static bool lp_add_ipc(const char *ipc_name, bool guest_ok) string_set(&ServicePtrs[i]->szUsername, ""); string_set(&ServicePtrs[i]->comment, comment); string_set(&ServicePtrs[i]->fstype, "IPC"); - ServicePtrs[i]->iMaxConnections = 0; + ServicePtrs[i]->max_connections = 0; ServicePtrs[i]->bAvailable = true; ServicePtrs[i]->readonly = true; ServicePtrs[i]->bGuest_only = false; -- cgit