]> git.meshlink.io Git - utcp/commit - utcp.c
Fix bug in retransmit().
authorGuus Sliepen <guus@meshlink.io>
Mon, 19 Oct 2015 20:03:21 +0000 (22:03 +0200)
committerGuus Sliepen <guus@sliepen.org>
Sun, 2 Jul 2017 10:04:32 +0000 (12:04 +0200)
commit64ef5642d83fc13829262ec6c1bddb6a20d9aa7a
tree3c62a3468c7e2f7c892705008a0b0079f129eb61
parent1ba5f4c56c38b3c986dabb5d0feced74d81cd490
Fix bug in retransmit().

The logic to check whether we actually have something to retransmit was
wrong, causing retransmit() to bail out early without setting or resetting
the timer. This also caused utcp_timeout() to return a negative value.
utcp.c