From 682a02d7d41b7653e5c9e90e65d290a8314045f0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 3 Aug 2004 07:16:41 +0000 Subject: 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) --- source4/libcli/raw/clitransport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/raw') 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); -- cgit