mirror of
https://github.com/curl/curl.git
synced 2026-05-30 04:27:30 +03:00
restore the correct timeout time that my previous commit broke
This commit is contained in:
parent
c8677e9d3f
commit
d23d686de2
1 changed files with 2 additions and 1 deletions
|
|
@ -253,7 +253,8 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
|
|||
|
||||
tvp = ares_timeout(data->state.areschannel, &store, &tv);
|
||||
|
||||
ares_waitperform(conn, timeout);
|
||||
/* use the timeout period ares returned to us above */
|
||||
ares_waitperform(conn, tv.tv_sec * 1000 + tv.tv_usec/1000);
|
||||
|
||||
if(conn->async.done)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue