mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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
This commit is contained in:
parent
ade87b32c7
commit
93ba8b9560
@ -201,7 +201,7 @@ void Curl_pgrsStartNow(struct SessionHandle *data)
|
|||||||
{
|
{
|
||||||
data->progress.speeder_c = 0; /* reset the progress meter display */
|
data->progress.speeder_c = 0; /* reset the progress meter display */
|
||||||
data->progress.start = Curl_tvnow();
|
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)
|
void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size)
|
||||||
|
Loading…
Reference in New Issue
Block a user