summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-04-17 15:00:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-04-17 15:00:17 +0000
commit8274bee963851e4c620e9cba73f8fa6e2069da1d (patch)
tree6114651d06ae61f07c482d59d3c56178344f4868
parent60aa975610b2e72a6625888bb530a032963b2e9c (diff)
downloadcurl-8274bee963851e4c620e9cba73f8fa6e2069da1d.tar.gz
init the speed index variable between transfers
-rw-r--r--lib/progress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 44b5ca38f..6451da6f4 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -134,6 +134,7 @@ void Curl_pgrsTime(struct UrlData *data, timerid timer)
void Curl_pgrsStartNow(struct UrlData *data)
{
+ data->progress.speeder_c = 0; /* reset the progress meter display */
data->progress.start = Curl_tvnow();
}