Fix crash when handling the ALRM signal.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 26 Jun 2012 12:22:57 +0000 (14:22 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 26 Jun 2012 12:22:57 +0000 (14:22 +0200)
commitbce177767d521b47efd458c5cd570959a98d940d
treebb298def8169c2d44c7029bf0904ec4f38279f32
parent19be9cf7150858311f7898fa3fb525d692d02f64
Fix crash when handling the ALRM signal.

In retry() the function do_outgoing_connection() is called, which can delete
items from the connection_tree, so when walking the tree we must first save the
pointer to the next item.
src/net.c