diff options
| author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:36 +1300 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:48 -0800 |
| commit | 19b2b00520aa79fc2cb58d6641c916820ec3e1b0 (patch) | |
| tree | 0f2443e7165a37f6740a6e7bd6ad613551734e1b /source3/param | |
| parent | 4fe2f288c6dc6d6a64db19ba218803549b555a3a (diff) | |
param: Rename variable used for lp__use_sendfile bUseSendfile
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 6c6597d889..bf3ebe1580 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -256,7 +256,7 @@ static struct loadparm_service sDefault = .force_printername = false, .nt_acl_support = true, .force_unknown_acl_user = false, - .bUseSendfile = false, + ._use_sendfile = false, .bProfileAcls = false, .bMap_acl_inherit = false, .bAfs_Share = false, @@ -5373,9 +5373,9 @@ bool lp_use_sendfile(int snum, struct smb_signing_state *signing_state) void set_use_sendfile(int snum, bool val) { if (LP_SNUM_OK(snum)) - ServicePtrs[snum]->bUseSendfile = val; + ServicePtrs[snum]->_use_sendfile = val; else - sDefault.bUseSendfile = val; + sDefault._use_sendfile = val; } /******************************************************************* |
