mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
Another timeout fix in ares_getnameinfo().
This commit is contained in:
parent
77a3e3c7f7
commit
6d5f899761
@ -249,7 +249,7 @@ static void nameinfo_callback(void *arg, int status, int timeouts, struct hosten
|
||||
service = lookup_service(niquery->addr.addr6.sin6_port,
|
||||
niquery->flags, srvbuf, sizeof(srvbuf));
|
||||
}
|
||||
niquery->callback(niquery->arg, ARES_SUCCESS, 0, ipbuf, service);
|
||||
niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, service);
|
||||
return;
|
||||
}
|
||||
niquery->callback(niquery->arg, status, niquery->timeouts, NULL, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user