From: Daniel Stenberg Date: Tue, 23 Mar 2004 16:01:31 +0000 (+0000) Subject: keep current_speed as an curl_off_t for better precision at higher speeds X-Git-Tag: c-ares-1_2_0~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2cf218610e992d0b174b081b1b791337f26d6719;p=curl keep current_speed as an curl_off_t for better precision at higher speeds if large file support is available --- diff --git a/lib/urldata.h b/lib/urldata.h index 05c8d6ce7..41b81deea 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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