mirror of
https://github.com/curl/curl.git
synced 2026-07-22 21:57:20 +03:00
Send the timeout count in ares_getnameinfo().
This commit is contained in:
parent
81249965f7
commit
77a3e3c7f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue