diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-12-05 23:39:41 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-12-05 23:39:41 +0100 |
commit | 2271b60b71c4e6d3337ddde0fae81ad6bb6fe2c3 (patch) | |
tree | 6983b0e9676310dd5981251741317d4b746d0e39 /libcurl.pc.in | |
parent | c2bfe60086078f1dc079bdcc989bf03bd6b2ee22 (diff) |
Curl_wait_for_resolv: correct timeout
When looping in this function and checking for the timeout being
expired, it was not updating the reference time when calculating the
timediff since previous round which made it think each subsequent loop
to have taken longer than it actually did.
I also modified the function to use the generic Curl_timeleft() function
instead of the custom logic.
Bug: http://curl.haxx.se/bug/view.cgi?id=3112579
Diffstat (limited to 'libcurl.pc.in')
0 files changed, 0 insertions, 0 deletions