Send the timeout count in ares_getnameinfo().

This commit is contained in:
Steinar H. Gunderson 2007-10-04 08:09:04 +00:00
parent 81249965f7
commit 77a3e3c7f7

View File

@ -252,7 +252,7 @@ static void nameinfo_callback(void *arg, int status, int timeouts, struct hosten
niquery->callback(niquery->arg, ARES_SUCCESS, 0, ipbuf, service);
return;
}
niquery->callback(niquery->arg, status, 0, NULL, NULL);
niquery->callback(niquery->arg, status, niquery->timeouts, NULL, NULL);
free(niquery);
}