summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 23:13:28 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:17 +0200
commita92efa0e4738bef8a5411fb7a0bb361e3a67ca14 (patch)
treef6a2c4e16c4ffe6d52401218468ae34791ff9234
parent50b3ee57e2860c4074de356a45f9d54a3236f3e8 (diff)
downloadsamba-a92efa0e4738bef8a5411fb7a0bb361e3a67ca14.tar.gz
samba-a92efa0e4738bef8a5411fb7a0bb361e3a67ca14.tar.bz2
samba-a92efa0e4738bef8a5411fb7a0bb361e3a67ca14.zip
s3: Remove smbd_server_fd from send_trans2_replies
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 12a27b174b..ccc194b07f 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -800,7 +800,7 @@ void send_trans2_replies(connection_struct *conn,
if(params_to_send == 0 && data_to_send == 0) {
reply_outbuf(req, 10, 0);
show_msg((char *)req->outbuf);
- if (!srv_send_smb(smbd_server_fd(),
+ if (!srv_send_smb(sconn->sock,
(char *)req->outbuf,
true, req->seqnum+1,
IS_CONN_ENCRYPTED(conn),
@@ -939,7 +939,7 @@ void send_trans2_replies(connection_struct *conn,
/* Send the packet */
show_msg((char *)req->outbuf);
- if (!srv_send_smb(smbd_server_fd(),
+ if (!srv_send_smb(sconn->sock,
(char *)req->outbuf,
true, req->seqnum+1,
IS_CONN_ENCRYPTED(conn),