summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-09-17 19:48:19 +0000
committerJeremy Allison <jra@samba.org>2002-09-17 19:48:19 +0000
commit9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d (patch)
treec6dbbe5495a7d3245be2a395383847afb654943d /source3/smbd/reply.c
parentb33681fc0b8ef7b9fa91c154f7c3117afafa349e (diff)
downloadsamba-9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d.tar.gz
samba-9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d.tar.bz2
samba-9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d.zip
Actually use sendfile if selected.
Jeremy. (This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 45704b9264..b8a89b1d9d 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1723,7 +1723,7 @@ int send_file_readX(connection_struct *conn, char *inbuf,char *outbuf,int length
SSVAL(outbuf,smb_vwv5,smb_maxcnt);
SSVAL(outbuf,smb_vwv6,smb_offset(data,outbuf));
SSVAL(smb_buf(outbuf),-2,smb_maxcnt);
- CVAL(outbuf,smb_vwv0) = 0xFF;
+ SCVAL(outbuf,smb_vwv0,0xFF);
set_message(outbuf,12,smb_maxcnt,False);
header.data = outbuf;
header.length = data - outbuf;