mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
r18490@catbus: nickm | 2008-02-28 15:56:55 -0500
Replace www.google.com with google.com; fix EVDNS_MAIN code. svn:r679
This commit is contained in:
parent
697177306f
commit
7210592777
4
evdns.c
4
evdns.c
@ -1964,7 +1964,7 @@ nameserver_send_probe(struct nameserver *const ns) {
|
||||
|
||||
log(EVDNS_LOG_DEBUG, "Sending probe to %s", debug_ntoa(ns->address));
|
||||
|
||||
req = request_new(TYPE_A, "www.google.com", DNS_QUERY_NO_SEARCH, nameserver_probe_callback, ns);
|
||||
req = request_new(TYPE_A, "google.com", DNS_QUERY_NO_SEARCH, nameserver_probe_callback, ns);
|
||||
if (!req) return;
|
||||
/* we force this into the inflight queue no matter what */
|
||||
request_trans_id_set(req, transaction_id_pick());
|
||||
@ -3081,7 +3081,7 @@ evdns_server_callback(struct evdns_server_request *req, void *data)
|
||||
}
|
||||
}
|
||||
|
||||
r = evdns_request_respond(req, 0);
|
||||
r = evdns_server_request_respond(req, 0);
|
||||
if (r<0)
|
||||
printf("eeek, couldn't send reply.\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user