]> git.meshlink.io Git - utcp/commit
Small fixes for utcp_abort_all_connections().
authorGuus Sliepen <guus@sliepen.org>
Mon, 25 Feb 2019 08:57:57 +0000 (09:57 +0100)
committerGuus Sliepen <guus@sliepen.org>
Mon, 25 Feb 2019 08:57:57 +0000 (09:57 +0100)
commitf1035e971bb894203bdfba6cafbaf0bb30f197eb
tree4025d5afa7ba4493c8d25f127e1b936ad2982a34
parent1ed9c137140a4896cb0aa07f48dcb7182c8271d3
Small fixes for utcp_abort_all_connections().

- Make utcp_reset_connection() a private function.
- Ensure we don't repeat any action when aborting a connection twice.
- Call the receive callback after resetting the connection, so the callback
  function can safely call utcp_close().
utcp.c
utcp.h