From e34c5e235d831160599202960cc1a3411883934f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 14 Aug 2010 23:11:43 +0200 Subject: s3: Remove smbd_server_fd from api_dcerpc_cmd_read/write_done --- source3/smbd/ipc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 3aef3fc6d8..c961fc4ab6 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -313,7 +313,7 @@ static void api_dcerpc_cmd_write_done(struct tevent_req *subreq) send: if (!srv_send_smb( - smbd_server_fd(), (char *)req->outbuf, + req->sconn->sock, (char *)req->outbuf, true, req->seqnum+1, IS_CONN_ENCRYPTED(req->conn) || req->encrypted, &req->pcd)) { @@ -341,7 +341,7 @@ static void api_dcerpc_cmd_read_done(struct tevent_req *subreq) nt_errstr(status))); reply_nterror(req, status); - if (!srv_send_smb(smbd_server_fd(), (char *)req->outbuf, + if (!srv_send_smb(req->sconn->sock, (char *)req->outbuf, true, req->seqnum+1, IS_CONN_ENCRYPTED(req->conn) ||req->encrypted, &req->pcd)) { -- cgit