summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 14:54:13 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:16 +0200
commitc9458a756cd48abb69e5c520baba00f954ca445f (patch)
treec139e31f21d097d974588b12e2aaa8b685f0061c /source3
parentbda7c70bc0c04eeb0adb2a1a08bf958895a68879 (diff)
downloadsamba-c9458a756cd48abb69e5c520baba00f954ca445f.tar.gz
samba-c9458a756cd48abb69e5c520baba00f954ca445f.tar.bz2
samba-c9458a756cd48abb69e5c520baba00f954ca445f.zip
s3: Remove smbd_server_fd from handle_aio_read/write_complete
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/aio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index cd756c47dd..281c29679e 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -633,7 +633,7 @@ static int handle_aio_read_complete(struct aio_extra *aio_ex, int errcode)
}
smb_setlen(outbuf,outsize - 4);
show_msg(outbuf);
- if (!srv_send_smb(smbd_server_fd(),outbuf,
+ if (!srv_send_smb(aio_ex->smbreq->sconn->sock, outbuf,
true, aio_ex->smbreq->seqnum+1,
IS_CONN_ENCRYPTED(aio_ex->fsp->conn), NULL)) {
exit_server_cleanly("handle_aio_read_complete: srv_send_smb "
@@ -722,7 +722,7 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
}
show_msg(outbuf);
- if (!srv_send_smb(smbd_server_fd(),outbuf,
+ if (!srv_send_smb(aio_ex->smbreq->sconn->sock, outbuf,
true, aio_ex->smbreq->seqnum+1,
IS_CONN_ENCRYPTED(fsp->conn),
NULL)) {