[git commit master 1/1] wget: fix progress display
Denys Vlasenko
vda.linux at googlemail.com
Mon Jul 12 01:27:09 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=c5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
function old new delta
progress_meter 187 199 +12
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/wget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/networking/wget.c b/networking/wget.c
index f55b68a..1f35f8b 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -50,7 +50,7 @@ static void progress_meter(int flag)
}
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) {
/* last call to progress_meter */
--
1.7.1
More information about the busybox-cvs
mailing list