summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 23:10:45 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:16 +0200
commit9878fa6f725e4c44b863de0b18269746b9ca7144 (patch)
tree06c70e6d2b0dbf0dc1481124d87d771b04d56f2e
parent774bae74d15621c303228c44ce4ea3707f9e078c (diff)
downloadsamba-9878fa6f725e4c44b863de0b18269746b9ca7144.tar.gz
samba-9878fa6f725e4c44b863de0b18269746b9ca7144.tar.bz2
samba-9878fa6f725e4c44b863de0b18269746b9ca7144.zip
s3: Remove smbd_server_fd from send_nt_replies
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 839d1b35a5..07df67d8a5 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -74,7 +74,7 @@ void send_nt_replies(connection_struct *conn,
__LINE__,__FILE__);
}
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),
@@ -243,7 +243,7 @@ void send_nt_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),