From c9458a756cd48abb69e5c520baba00f954ca445f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 14 Aug 2010 14:54:13 +0200 Subject: s3: Remove smbd_server_fd from handle_aio_read/write_complete --- source3/smbd/aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/aio.c') 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)) { -- cgit