]> git.meshlink.io Git - meshlink/commit - src/event.c
Fix a potential crash when restarting the mesh.
authorGuus Sliepen <guus@meshlink.io>
Thu, 5 Sep 2019 15:55:41 +0000 (17:55 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 5 Sep 2019 18:00:11 +0000 (20:00 +0200)
commit7c5ce220ac7492746e8579defce38729145da069
tree3e520106992991a3a802f112823399b5ad8e6dc5
parentb1cae6a2011f704dc4d3b02972def561d5c6bcb9
Fix a potential crash when restarting the mesh.

The tv value must not be changed for a timeout that is still linked into the
tree of timeouts, otherwise the tree can get corrupted.
src/event.c