Unconditionally remove timeouts from the queue before calling the callback.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Feb 2018 21:19:43 +0000 (22:19 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Feb 2018 21:19:43 +0000 (22:19 +0100)
commite8a60109fc91a42420ec626b63956771675f89b0
tree98717f039cd04da97b6afaba298ff32e12ba3254
parent03a94cb3148544230bdd306e905d2ce88c551c12
Unconditionally remove timeouts from the queue before calling the callback.

We are going to unlink the timeout from the splay tree anyway, so do it
unconditionally before the callback, instead of waiting until after the
callback to check whether or not to remove it based on its expiration
time.
src/event.c