Fix compile error.

This commit is contained in:
Jeff Young 2021-08-30 13:11:42 +01:00
parent 9da8f04cb4
commit d61411c853
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ static int xferinfo( void* p, curl_off_t dltotal, curl_off_t dlnow, curl_off_t u
CURL_PROGRESS* progress = (CURL_PROGRESS*) p;
curl_off_t curtime = 0;
curl_easy_getinfo( progress->curl->GetCurl(), CURLINFO_TOTAL_TIME_T, &curtime );
curl_easy_getinfo( progress->curl->GetCurl(), CURLINFO_TOTAL_TIME, &curtime );
if( curtime - progress->last_run_time >= progress->interval )
{