Commit 2cf21861 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

keep current_speed as an curl_off_t for better precision at higher speeds

if large file support is available
parent fe6f0aeb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -678,8 +678,8 @@ struct UrlState {

  char buffer[BUFSIZE+1]; /* download buffer */
  char uploadbuffer[BUFSIZE+1]; /* upload buffer */
  double current_speed;  /* the ProgressShow() funcion sets this */

  curl_off_t current_speed;  /* the ProgressShow() funcion sets this,
                                bytes / second */
  bool this_is_a_follow; /* this is a followed Location: request */

  char *auth_host; /* if set, this should be the host name that we will