Mercurial > dropbear
comparison packet.c @ 456:f6c999ba31da
Fix delayed packet queue handling
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 08 Aug 2007 15:48:52 +0000 |
parents | 7e43f5e473b9 |
children | e3db1f7a2e43 |
comparison
equal
deleted
inserted
replaced
455:319262c94d24 | 456:f6c999ba31da |
---|---|
431 | 431 |
432 if (ses.reply_queue_tail) { | 432 if (ses.reply_queue_tail) { |
433 ses.reply_queue_tail->next = new_item; | 433 ses.reply_queue_tail->next = new_item; |
434 } else { | 434 } else { |
435 ses.reply_queue_head = new_item; | 435 ses.reply_queue_head = new_item; |
436 ses.reply_queue_tail = new_item; | 436 } |
437 } | 437 ses.reply_queue_tail = new_item; |
438 TRACE(("leave enqueue_reply_packet")) | 438 TRACE(("leave enqueue_reply_packet")) |
439 } | 439 } |
440 | 440 |
441 void maybe_flush_reply_queue() { | 441 void maybe_flush_reply_queue() { |
442 struct packetlist *tmp_item = NULL, *curr_item = NULL; | 442 struct packetlist *tmp_item = NULL, *curr_item = NULL; |