1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Curl_pgrsStartNow: clear all bits except HIDE

Bug: http://curl.haxx.se/bug/view.cgi?id=3385258
Reported by: Ben Winslow
This commit is contained in:
Daniel Stenberg 2011-08-07 22:26:57 +02:00
parent f2a6373629
commit 15379f0614

View File

@ -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)