summaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-08-07 22:26:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-08-07 22:26:57 +0200
commit15379f0614c56281b71dfc7b07b5e63955ccd9ac (patch)
treea9a94cb63f7a4964c13e271a546bbbd583af81c4 /lib/progress.c
parentf2a6373629787df8fb9f5a8b03f69dea0ac3cce8 (diff)
downloadcurl-15379f0614c56281b71dfc7b07b5e63955ccd9ac.tar.gz
Curl_pgrsStartNow: clear all bits except HIDE
Bug: http://curl.haxx.se/bug/view.cgi?id=3385258 Reported by: Ben Winslow
Diffstat (limited to 'lib/progress.c')
-rw-r--r--lib/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 9f20a0068..9ad924108 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -201,7 +201,7 @@ void Curl_pgrsStartNow(struct SessionHandle *data)
{
data->progress.speeder_c = 0; /* reset the progress meter display */
data->progress.start = Curl_tvnow();
- data->progress.flags = 0;
+ data->progress.flags &= ~PGRS_HIDE; /* clear all bits except HIDE */
}
void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size)