summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 23:14:26 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:22 +0200
commit2d571fdddbe86672ce47f22d8dd05e6dddaffa06 (patch)
tree45c8062b637d445b912dfd0627bb269189876886
parent30ce02299b3c6cb7e2f9f80ce530e8d5e3441d6c (diff)
downloadsamba-2d571fdddbe86672ce47f22d8dd05e6dddaffa06.tar.gz
samba-2d571fdddbe86672ce47f22d8dd05e6dddaffa06.tar.bz2
samba-2d571fdddbe86672ce47f22d8dd05e6dddaffa06.zip
s3: Remove smbd_server_fd from vfs_pwrite_data
-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 6f5154e5fa..b75d4d1ffd 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -426,7 +426,7 @@ ssize_t vfs_pwrite_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,
offset,
N);