summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-03 07:16:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:45 -0500
commit682a02d7d41b7653e5c9e90e65d290a8314045f0 (patch)
tree05f0430a420c2bffa5ead31907f2f3b18fb4b176
parent53781e9d37b9adb1cf2d5be2a6ae6c1f5ace26c9 (diff)
downloadsamba-682a02d7d41b7653e5c9e90e65d290a8314045f0.tar.gz
samba-682a02d7d41b7653e5c9e90e65d290a8314045f0.tar.bz2
samba-682a02d7d41b7653e5c9e90e65d290a8314045f0.zip
r1634: to get signing right for async requests we must send requests in
order. Fixed the linked list add to always add to the end for outgoing requests. (This used to be commit 81c450b434bb28b0fa8620c309f39203e8950497)
-rw-r--r--source4/libcli/raw/clitransport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index d2d78d0789..a33cc5e8f6 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -480,7 +480,7 @@ void cli_transport_send(struct cli_request *req)
{
/* put it on the outgoing socket queue */
req->state = CLI_REQUEST_SEND;
- DLIST_ADD(req->transport->pending_send, req);
+ DLIST_ADD_END(req->transport->pending_send, req, struct cli_request *);
/* make sure we look for write events */
cli_transport_write_enable(req->transport);