This should have been caught before, but the failure of this test
seems to have been uncovered by a seemingly unrelated change to
the code. (Always set ed->ed_tail = ed when initializing a new ed).
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(void) state; /* unused */
he = gethostbyname2("magrathea.galaxy.site", AF_INET6);
- assert_null(he);
+ assert_non_null(he);
he = gethostbyname2("magrathea.galaxy.site", AF_INET);
assert_non_null(he);