summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 23:11:23 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:16 +0200
commit215d803cdbfeb7df8b4cc20c7b8d532b7be7bb99 (patch)
tree72d14d750257344e8e1dfc3cd5bb612df895cc51
parent9878fa6f725e4c44b863de0b18269746b9ca7144 (diff)
downloadsamba-215d803cdbfeb7df8b4cc20c7b8d532b7be7bb99.tar.gz
samba-215d803cdbfeb7df8b4cc20c7b8d532b7be7bb99.tar.bz2
samba-215d803cdbfeb7df8b4cc20c7b8d532b7be7bb99.zip
s3: Remove smbd_server_fd from send_trans_reply
-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 3674c0dea1..3aef3fc6d8 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -135,7 +135,7 @@ void send_trans_reply(connection_struct *conn,
}
show_msg((char *)req->outbuf);
- if (!srv_send_smb(smbd_server_fd(), (char *)req->outbuf,
+ if (!srv_send_smb(sconn->sock, (char *)req->outbuf,
true, req->seqnum+1,
IS_CONN_ENCRYPTED(conn), &req->pcd)) {
exit_server_cleanly("send_trans_reply: srv_send_smb failed.");
@@ -195,7 +195,7 @@ void send_trans_reply(connection_struct *conn,
}
show_msg((char *)req->outbuf);
- if (!srv_send_smb(smbd_server_fd(), (char *)req->outbuf,
+ if (!srv_send_smb(sconn->sock, (char *)req->outbuf,
true, req->seqnum+1,
IS_CONN_ENCRYPTED(conn), &req->pcd))
exit_server_cleanly("send_trans_reply: srv_send_smb "