1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 18:42:01 +00:00

Another timeout fix in ares_getnameinfo().

This commit is contained in:
Steinar H. Gunderson
2007-10-04 08:09:52 +00:00
parent d5919bbe17
commit b7dec81498

View File

@ -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);