diff options
| author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:19 +1300 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:43 -0800 |
| commit | 79919eacbd0248563fde429e2c9adecccba8a1eb (patch) | |
| tree | 1c13ea47b530902f791119cbd7e76c06da3122d9 /source3/param | |
| parent | 4f0c831e2b4166abf891581b0aeb479e931b9b98 (diff) | |
| download | samba-79919eacbd0248563fde429e2c9adecccba8a1eb.tar.gz samba-79919eacbd0248563fde429e2c9adecccba8a1eb.tar.xz samba-79919eacbd0248563fde429e2c9adecccba8a1eb.zip | |
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 'source3/param')
| -rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
