]> git.meshlink.io Git - meshlink/commitdiff
Move join state out of meshlink_handle_t, and ensure proper cleanup on errors.
authorGuus Sliepen <guus@meshlink.io>
Tue, 11 Feb 2020 20:37:33 +0000 (21:37 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 11 Feb 2020 20:37:33 +0000 (21:37 +0100)
Move the state we keep when calling meshlink_join() out of meshlink_handle_t
and just put it on the stack of meshlink_join(). Also make sure we properly
release allocated resources in all error conditions during a join.


No differences found