summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-07 21:52:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:09 -0500
commitb42a10a8ef770b5d26fa703482ab477ad082fd16 (patch)
tree635012b42f7c39b7b927a34b507f1a40c510a63c /source3/param/loadparm.c
parentd90c4a046203f6218e36a2b5f06742a7a4eae8b1 (diff)
downloadsamba-b42a10a8ef770b5d26fa703482ab477ad082fd16.tar.gz
samba-b42a10a8ef770b5d26fa703482ab477ad082fd16.tar.bz2
samba-b42a10a8ef770b5d26fa703482ab477ad082fd16.zip
r1386: We can't use sendfile for Win9x. It causes oplock failures (who knew....).
Jeremy. (This used to be commit f423a631974b9126888aff2e476882abf1f3afad)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 0710c36514..0785c2501b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4320,7 +4320,7 @@ int lp_maxprintjobs(int snum)
BOOL lp_use_sendfile(int snum)
{
- return (_lp_use_sendfile(snum) && !srv_is_signing_active());
+ return (_lp_use_sendfile(snum) && (get_remote_arch() != RA_WIN95) && !srv_is_signing_active());
}
/*******************************************************************