summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-23 16:33:45 +0100
committerVolker Lendecke <vl@samba.org>2009-11-23 16:34:59 +0100
commit7930206f5c80b15aded213c3f438ff0120fdea2c (patch)
tree57cbf214061fa53d0f5988b0e3ae44624f29e460 /source3/param
parent0f8e2a6ebb716588e741c2cdd8e9918262fdd4c6 (diff)
downloadsamba-7930206f5c80b15aded213c3f438ff0120fdea2c.tar.gz
samba-7930206f5c80b15aded213c3f438ff0120fdea2c.tar.bz2
samba-7930206f5c80b15aded213c3f438ff0120fdea2c.zip
Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit"
This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b7eb80e3f6..83c6ef59da 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9714,13 +9714,12 @@ uint32 lp_get_spoolss_state( void )
Ensure we don't use sendfile if server smb signing is active.
********************************************************************/
-bool lp_use_sendfile(int snum, enum protocol_types proto,
- struct smb_signing_state *signing_state)
+bool lp_use_sendfile(int snum, struct smb_signing_state *signing_state)
{
bool sign_active = false;
/* Using sendfile blows the brains out of any DOS or Win9x TCP stack... JRA. */
- if (proto < PROTOCOL_NT1) {
+ if (get_Protocol() < PROTOCOL_NT1) {
return false;
}
if (signing_state) {