summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 14:53:45 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:16 +0200
commitbda7c70bc0c04eeb0adb2a1a08bf958895a68879 (patch)
treea93b94e0af00dd2d5fdd13c476e3f89a1623481e /source3/smbd
parent2f53d1deb7a244e67302425d0f5e82caaa51f027 (diff)
downloadsamba-bda7c70bc0c04eeb0adb2a1a08bf958895a68879.tar.gz
samba-bda7c70bc0c04eeb0adb2a1a08bf958895a68879.tar.bz2
samba-bda7c70bc0c04eeb0adb2a1a08bf958895a68879.zip
s3: Remove smbd_server_fd from schedule_aio_write_and_X
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/aio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 29b2fc4212..cd756c47dd 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -357,7 +357,8 @@ NTSTATUS schedule_aio_write_and_X(connection_struct *conn,
SSVAL(aio_ex->outbuf.data,smb_vwv2,numtowrite);
SSVAL(aio_ex->outbuf.data,smb_vwv4,(numtowrite>>16)&1);
show_msg((char *)aio_ex->outbuf.data);
- if (!srv_send_smb(smbd_server_fd(),(char *)aio_ex->outbuf.data,
+ if (!srv_send_smb(aio_ex->smbreq->sconn->sock,
+ (char *)aio_ex->outbuf.data,
true, aio_ex->smbreq->seqnum+1,
IS_CONN_ENCRYPTED(fsp->conn),
&aio_ex->smbreq->pcd)) {