Commit ebf985c1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

time_t fix: follow-up to de4de4e3

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

Reported-by: Dave Reisner
parent de4de4e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)