Code

aconnect: remove bogus assertions
authorMax Kellermann <max.kellermann@gmail.com>
Sun, 5 Nov 2017 16:18:28 +0000 (17:18 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Sun, 5 Nov 2017 16:18:28 +0000 (17:18 +0100)
commit8d795d6b1ea1932823c29484a3280a5c7f8b77b5
tree92f26bc7a442386485d964e0be14dd912126f0fa
parent911d7e95dc5f469938a6d06786f7c6651df02e17
aconnect: remove bogus assertions

async_rconnect_start() attempts to resolve the host name before it
allocates a struct async_rconnect, and therefore the error callback
may be invoked before "*rcp" gets assigned.

The solution is trivial: remove those assertions, because they are
wrong.

Closes #10
NEWS
src/aconnect.c