Skip to content
Snippets Groups Projects
Commit 726ae07b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

multi: fix "Operation timed out after" timer

Use the local, reasonably updated, 'now' value when creating the message
string to output for the timeout condition.

Fixes #619
parent 23ab4816
No related branches found
No related tags found
No related merge requests found
......@@ -1075,7 +1075,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
failf(data, "Operation timed out after %ld milliseconds with %"
CURL_FORMAT_CURL_OFF_T " out of %"
CURL_FORMAT_CURL_OFF_T " bytes received",
Curl_tvdiff(k->now, data->progress.t_startsingle),
Curl_tvdiff(now, data->progress.t_startsingle),
k->bytecount, k->size);
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment