diff options
author | Michael Adam <obnox@samba.org> | 2008-01-11 01:26:54 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-11 01:27:05 +0100 |
commit | fef9cf00e1e110ff5872f1c368d080fe4f7939d6 (patch) | |
tree | 9b6bf79a5fa28b76c37af56fcc0c5ed2e7bf1884 /examples | |
parent | 14d45bedfa844dfbf646e792d1cf84544997de25 (diff) | |
download | samba-fef9cf00e1e110ff5872f1c368d080fe4f7939d6.tar.gz samba-fef9cf00e1e110ff5872f1c368d080fe4f7939d6.tar.bz2 samba-fef9cf00e1e110ff5872f1c368d080fe4f7939d6.zip |
Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().
Michael
(This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 4 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 16578057d0..5b196af5eb 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -161,9 +161,9 @@ static ssize_t skel_sendfile(vfs_handle_struct *handle, int tofd, files_struct * return vfswrap_sendfile(NULL, tofd, fromfsp, hdr, offset, n); } -static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *fsp, int tofd, SMB_OFF_T offset, size_t n) +static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *tofsp, SMB_OFF_T offset, size_t n) { - return vfswrap_recvfile(NULL, fromfd, fsp, tofd, offset, n); + return vfswrap_recvfile(NULL, fromfd, tofsp, offset, n); } static int skel_rename(vfs_handle_struct *handle, const char *oldname, const char *newname) diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index e69826a89d..55407be10c 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -154,9 +154,9 @@ static ssize_t skel_sendfile(vfs_handle_struct *handle, int tofd, files_struct * return SMB_VFS_NEXT_SENDFILE(handle, tofd, fromfsp, hdr, offset, n); } -static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *fsp, int tofd, SMB_OFF_T offset, size_t n) +static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *tofsp, SMB_OFF_T offset, size_t n) { - return SMB_VFS_NEXT_RECVFILE(handle, fromfd, fsp, tofd, offset, n); + return SMB_VFS_NEXT_RECVFILE(handle, fromfd, tofsp, offset, n); } static int skel_rename(vfs_handle_struct *handle, const char *oldname, const char *newname) |