summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);