]> git.meshlink.io Git - utcp/commit
Keep a copy of the old receive callback before calling reset_connection().
authorGuus Sliepen <guus@sliepen.org>
Wed, 27 Feb 2019 19:05:00 +0000 (20:05 +0100)
committerGuus Sliepen <guus@sliepen.org>
Wed, 27 Feb 2019 19:05:00 +0000 (20:05 +0100)
commitb2c1a352bfa105c1d289dae31cb47b8fcc3963ff
tree63a6ebfe79328130836c9f4478c6c1953e2d4c1a
parentf1035e971bb894203bdfba6cafbaf0bb30f197eb
Keep a copy of the old receive callback before calling reset_connection().

The latter function clears the receive callback, so make a copy before
calling trying to call the receive callback for the final time.
utcp.c