1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 14:35:03 -05:00

keep current_speed as an curl_off_t for better precision at higher speeds

if large file support is available
This commit is contained in:
Daniel Stenberg 2004-03-23 16:01:31 +00:00
parent fe6f0aeb26
commit 2cf218610e

View File

@ -678,8 +678,8 @@ struct UrlState {
char buffer[BUFSIZE+1]; /* download buffer */ char buffer[BUFSIZE+1]; /* download buffer */
char uploadbuffer[BUFSIZE+1]; /* upload 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 */ 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 char *auth_host; /* if set, this should be the host name that we will