diff options
author | Jeremy Allison <jra@samba.org> | 2002-09-12 18:18:35 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-09-12 18:18:35 +0000 |
commit | 6cf499ecff96880acef4e53817dccd7d838edd62 (patch) | |
tree | 019bde301a6624fbd7b7fde7fd610502a31657e4 /source3/smbd/vfs-wrap.c | |
parent | f6fdad1315ad4fcd046b3132a7c0b60a31d5a605 (diff) | |
download | samba-6cf499ecff96880acef4e53817dccd7d838edd62.tar.gz samba-6cf499ecff96880acef4e53817dccd7d838edd62.tar.bz2 samba-6cf499ecff96880acef4e53817dccd7d838edd62.zip |
Fixed up FreeBSD sendfile code - only Solaris left then I can add the
configure tests...
Jeremy.
(This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)
Diffstat (limited to 'source3/smbd/vfs-wrap.c')
-rw-r--r-- | source3/smbd/vfs-wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs-wrap.c b/source3/smbd/vfs-wrap.c index b44b778e09..27bb1f42f3 100644 --- a/source3/smbd/vfs-wrap.c +++ b/source3/smbd/vfs-wrap.c @@ -193,7 +193,7 @@ SMB_OFF_T vfswrap_lseek(files_struct *fsp, int filedes, SMB_OFF_T offset, int wh } #if 0 /* JRATEST */ -ssize_t vfswrap_sendfile(int outfd, struct files_struct *fsp, int infd, DATA_BLOB *hdr, SMB_OFF_T offset, size_t n) +ssize_t vfswrap_sendfile(int tofd, struct files_struct *fsp, int fromfd, DATA_BLOB *hdr, SMB_OFF_T offset, size_t n) { ssize_t result; |