]> granicus.if.org Git - curl/commitdiff
keep current_speed as an curl_off_t for better precision at higher speeds
authorDaniel Stenberg <daniel@haxx.se>
Tue, 23 Mar 2004 16:01:31 +0000 (16:01 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 23 Mar 2004 16:01:31 +0000 (16:01 +0000)
if large file support is available

lib/urldata.h

index 05c8d6ce7b367959c1b04519ebd7e3fcc4ca323c..41b81deea39e7bb2a0ce8652422625e0a70194c5 100644 (file)
@@ -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