1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

time_t fix: follow-up to de4de4e3c7

Blah, I accidentally wrote size_t instead of time_t for two variables.

Reported-by: Dave Reisner
This commit is contained in:
Daniel Stenberg 2016-11-13 23:09:45 +01:00
parent de4de4e3c7
commit ebf985c159

View File

@ -250,8 +250,8 @@ long Curl_pgrsLimitWaitTime(curl_off_t cursize,
struct timeval now)
{
curl_off_t size = cursize - startsize;
size_t minimum;
size_t actual;
time_t minimum;
time_t actual;
/* we don't have a starting point yet -- return 0 so it gets (re)set */
if(start.tv_sec == 0 && start.tv_usec == 0)