mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
wget: fix progress display
function old new delta progress_meter 187 199 +12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d8b989f22d
commit
c5bbd5d085
@ -50,7 +50,7 @@ static void progress_meter(int flag)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bb_progress_update(&G.pmt, G.curfile, G.beg_range, G.transferred,
|
bb_progress_update(&G.pmt, G.curfile, G.beg_range, G.transferred,
|
||||||
G.chunked ? 0 : G.content_len + G.beg_range);
|
G.chunked ? 0 : G.beg_range + G.transferred + G.content_len);
|
||||||
|
|
||||||
if (flag == 0) {
|
if (flag == 0) {
|
||||||
/* last call to progress_meter */
|
/* last call to progress_meter */
|
||||||
|
Loading…
Reference in New Issue
Block a user