diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-12 03:27:09 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-12 03:27:09 +0200 |
commit | c5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729 (patch) | |
tree | e0dc811224548242e6620e258432c49f678d47f8 /networking/wget.c | |
parent | d8b989f22dbb21642ada9696ad7e8358464e20cc (diff) | |
download | busybox-c5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729.tar.gz |
wget: fix progress display
function old new delta
progress_meter 187 199 +12
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index f55b68a38..1f35f8b03 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 */ |