Send the timeout count in ares_getnameinfo().
This commit is contained in:
parent
81249965f7
commit
77a3e3c7f7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user