diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-14 14:54:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-16 22:39:16 +0200 |
commit | c9458a756cd48abb69e5c520baba00f954ca445f (patch) | |
tree | c139e31f21d097d974588b12e2aaa8b685f0061c /source3 | |
parent | bda7c70bc0c04eeb0adb2a1a08bf958895a68879 (diff) | |
download | samba-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.c | 4 |
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)) { |