1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

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)
This commit is contained in:
Andrew Tridgell 2004-08-03 07:16:41 +00:00 committed by Gerald (Jerry) Carter
parent 53781e9d37
commit 682a02d7d4

View File

@ -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);