summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-07-12 01:27:09 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-07-12 01:27:09 (GMT)
commitc5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729 (patch)
treee0dc811224548242e6620e258432c49f678d47f8
parentd8b989f22dbb21642ada9696ad7e8358464e20cc (diff)
downloadbusybox-c5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729.tar.gz
busybox-c5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729.tar.bz2
wget: fix progress display
function old new delta progress_meter 187 199 +12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/wget.c2
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 */