Commit d23d686d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

restore the correct timeout time that my previous commit broke

parent c8677e9d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;