Fix check for expired events.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 29 Nov 2012 13:32:12 +0000 (14:32 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 29 Nov 2012 13:32:12 +0000 (14:32 +0100)
commitd9c70767aa6da8b62b4a1034d5f07892603beddd
tree00f74acb4d76a3a54d3ceca0180398eb2b3d83f4
parent8825cddd0d8ed6dad00924ef382139da51ca3fc4
Fix check for expired events.

This would trigger a infinite loop if a timeout expired and the next timeout
was not expired yet, but less than 1 second from being expired.
src/event.c