diff options
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/file.c b/lib/file.c index 576a79463..8de9e50c2 100644 --- a/lib/file.c +++ b/lib/file.c @@ -346,7 +346,7 @@ static CURLcode file_upload(struct connectdata *conn) if(Curl_pgrsUpdate(conn)) result = CURLE_ABORTED_BY_CALLBACK; else - result = Curl_speedcheck(data, Curl_now()); + result = Curl_speedcheck(data); } if(!result && Curl_pgrsUpdate(conn)) result = CURLE_ABORTED_BY_CALLBACK; @@ -533,7 +533,7 @@ static CURLcode file_do(struct connectdata *conn, bool *done) if(Curl_pgrsUpdate(conn)) result = CURLE_ABORTED_BY_CALLBACK; else - result = Curl_speedcheck(data, Curl_now()); + result = Curl_speedcheck(data); } if(Curl_pgrsUpdate(conn)) result = CURLE_ABORTED_BY_CALLBACK; |