| author | Max Kellermann <max.kellermann@gmail.com> | |
| Sun, 5 Nov 2017 16:18:28 +0000 (17:18 +0100) | ||
| committer | Max Kellermann <max.kellermann@gmail.com> | |
| Sun, 5 Nov 2017 16:18:28 +0000 (17:18 +0100) | ||
| commit | 8d795d6b1ea1932823c29484a3280a5c7f8b77b5 | |
| tree | 92f26bc7a442386485d964e0be14dd912126f0fa | tree | snapshot |
| parent | 911d7e95dc5f469938a6d06786f7c6651df02e17 | commit | diff |
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
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 | diff | blob | history | |
| src/aconnect.c | diff | blob | history |