aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-08-15 22:08:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-08-15 22:13:18 +0200
commit93ba8b9560f9089379189d94edbab217f1822684 (patch)
tree175ee32dacb32dd236492043fc056922b1c14ce7
parentade87b32c7bcdeebf5d8f737f72d6e9943e735ba (diff)
Curl_pgrsStartNow: clear all flags but HIDE
As bug 3385258 pointed out but I missed up the fix for. This is another take at a fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3392101 Reported by: Wu Yongzheng
-rw-r--r--lib/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 9ad924108..8966854fa 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 &= ~PGRS_HIDE; /* clear all bits except HIDE */
+ data->progress.flags &= PGRS_HIDE; /* clear all bits except HIDE */
}
void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size)