summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2010-07-12 03:27:09 +0200
committerDenys Vlasenko2010-07-12 03:27:09 +0200
commitc5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729 (patch)
treee0dc811224548242e6620e258432c49f678d47f8 /networking
parentd8b989f22dbb21642ada9696ad7e8358464e20cc (diff)
downloadbusybox-c5bbd5d08543bbd18ebdeee2b0c3c35ac7e15729.zip
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')
-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 */