git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f53d1d
)
s3: Remove smbd_server_fd from schedule_aio_write_and_X
author
Volker Lendecke
<vl@samba.org>
Sat, 14 Aug 2010 12:53:45 +0000
(14:53 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 16 Aug 2010 20:39:16 +0000
(22:39 +0200)
source3/smbd/aio.c
patch
|
blob
|
history
diff --git
a/source3/smbd/aio.c
b/source3/smbd/aio.c
index 29b2fc42129c8fe497193c27caeff3c379e55a78..cd756c47dd4f6d258c869db9661e7ee9c20db945 100644
(file)
--- a/
source3/smbd/aio.c
+++ b/
source3/smbd/aio.c
@@
-357,7
+357,8
@@
NTSTATUS schedule_aio_write_and_X(connection_struct *conn,
SSVAL(aio_ex->outbuf.data,smb_vwv2,numtowrite);
SSVAL(aio_ex->outbuf.data,smb_vwv4,(numtowrite>>16)&1);
show_msg((char *)aio_ex->outbuf.data);
- if (!srv_send_smb(smbd_server_fd(),(char *)aio_ex->outbuf.data,
+ if (!srv_send_smb(aio_ex->smbreq->sconn->sock,
+ (char *)aio_ex->outbuf.data,
true, aio_ex->smbreq->seqnum+1,
IS_CONN_ENCRYPTED(fsp->conn),
&aio_ex->smbreq->pcd)) {