From 2cf218610e992d0b174b081b1b791337f26d6719 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 23 Mar 2004 16:01:31 +0000 Subject: keep current_speed as an curl_off_t for better precision at higher speeds if large file support is available --- lib/urldata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3