mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
DNS tests: add a missing check
This commit is contained in:
parent
87cd6f0186
commit
f314900dfd
@ -654,7 +654,7 @@ fail_server_cb(struct evdns_server_request *req, void *data)
|
||||
event_base_loopexit(exit_base, NULL);
|
||||
}
|
||||
|
||||
evutil_inet_pton(AF_INET, "16.32.64.128", &in);
|
||||
tt_assert(evutil_inet_pton(AF_INET, "16.32.64.128", &in));
|
||||
evdns_server_request_add_a_reply(req, question, 1, &in.s_addr,
|
||||
100);
|
||||
tt_assert(! evdns_server_request_respond(req, 0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user