summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 23:14:16 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:22 +0200
commit30ce02299b3c6cb7e2f9f80ce530e8d5e3441d6c (patch)
treeab9064e13315f6f0f89ee1f9dbbda5779e449f7d /source3
parenta92efa0e4738bef8a5411fb7a0bb361e3a67ca14 (diff)
downloadsamba-30ce02299b3c6cb7e2f9f80ce530e8d5e3441d6c.tar.gz
samba-30ce02299b3c6cb7e2f9f80ce530e8d5e3441d6c.tar.bz2
samba-30ce02299b3c6cb7e2f9f80ce530e8d5e3441d6c.zip
s3: Remove smbd_server_fd from vfs_write_data
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index d4e9f02a69..6f5154e5fa 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -393,7 +393,7 @@ ssize_t vfs_write_data(struct smb_request *req,
/* VFS_RECVFILE must drain the socket
* before returning. */
req->unread_bytes = 0;
- return SMB_VFS_RECVFILE(smbd_server_fd(),
+ return SMB_VFS_RECVFILE(req->sconn->sock,
fsp,
(SMB_OFF_T)-1,
N);