mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 13:24:43 -04:00
Merge remote-tracking branch 'origin/patches-2.0'
This commit is contained in:
commit
a63ed16186
7
evdns.c
7
evdns.c
@ -898,7 +898,12 @@ reply_handle(struct request *const req, u16 flags, u32 ttl, struct reply *reply)
|
||||
addrbuf, sizeof(addrbuf)));
|
||||
break;
|
||||
default:
|
||||
/* we got a good reply from the nameserver */
|
||||
/* we got a good reply from the nameserver: it is up. */
|
||||
if (req->handle == req->ns->probe_request) {
|
||||
/* Avoid double-free */
|
||||
req->ns->probe_request = NULL;
|
||||
}
|
||||
|
||||
nameserver_up(req->ns);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user