summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 23:11:43 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:16 +0200
commite34c5e235d831160599202960cc1a3411883934f (patch)
treef1f519fba7432fcf779f608dc6e7e4dce59a0139 /source3/smbd
parent215d803cdbfeb7df8b4cc20c7b8d532b7be7bb99 (diff)
downloadsamba-e34c5e235d831160599202960cc1a3411883934f.tar.gz
samba-e34c5e235d831160599202960cc1a3411883934f.tar.bz2
samba-e34c5e235d831160599202960cc1a3411883934f.zip
s3: Remove smbd_server_fd from api_dcerpc_cmd_read/write_done
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/ipc.c4
1 files changed, 2 insertions, 2 deletions
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)) {