diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-08-07 22:26:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-08-07 22:26:57 +0200 |
commit | 15379f0614c56281b71dfc7b07b5e63955ccd9ac (patch) | |
tree | a9a94cb63f7a4964c13e271a546bbbd583af81c4 /lib | |
parent | f2a6373629787df8fb9f5a8b03f69dea0ac3cce8 (diff) |
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')
-rw-r--r-- | lib/progress.c | 2 |
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) |