summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-12 14:16:38 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-12 14:16:38 +0200
commit387754249806a6f438575368ce1694786b3a4084 (patch)
tree93954b5e6d61bd00b21ffb80e2ddae651283955b /package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch
parent3169aae85ef4b26aec667376b0559b38582ccf52 (diff)
busbox: add 1.17.0 upstream fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch')
-rw-r--r--package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch b/package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch
new file mode 100644
index 000000000..d649f65eb
--- /dev/null
+++ b/package/busybox/busybox-1.17.0/busybox-1.17.0-wget.patch
@@ -0,0 +1,12 @@
+diff -urpN busybox-1.17.0/networking/wget.c busybox-1.17.0-wget/networking/wget.c
+--- busybox-1.17.0/networking/wget.c 2010-06-24 04:40:43.000000000 +0200
++++ busybox-1.17.0-wget/networking/wget.c 2010-07-12 03:27:57.000000000 +0200
+@@ -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 */