diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-28 20:01:31 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-28 20:01:31 +0200 |
commit | 58cdca3984beb4e1019ef5ccf1dd7361f032a9a6 (patch) | |
tree | 922928fdb79cbdb6a02ffbeab7948c03ad501656 /networking/wget.c | |
parent | e52b735231bda70d811e4f9ef0e21fb2c7af96a2 (diff) | |
download | busybox-w32-1_16_1.tar.gz busybox-w32-1_16_1.tar.bz2 busybox-w32-1_16_1.zip |
apply post-1.16.0 fixes, bump version to 1.16.11_16_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c index ad1770b58..0aab3c288 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -546,6 +546,8 @@ int wget_main(int argc UNUSED_PARAM, char **argv) | |||
546 | "passive-ftp\0" No_argument "\xff" | 546 | "passive-ftp\0" No_argument "\xff" |
547 | "header\0" Required_argument "\xfe" | 547 | "header\0" Required_argument "\xfe" |
548 | "post-data\0" Required_argument "\xfd" | 548 | "post-data\0" Required_argument "\xfd" |
549 | /* Ignored (we don't do ssl) */ | ||
550 | "no-check-certificate\0" No_argument "\xfc" | ||
549 | ; | 551 | ; |
550 | #endif | 552 | #endif |
551 | 553 | ||
@@ -590,6 +592,7 @@ int wget_main(int argc UNUSED_PARAM, char **argv) | |||
590 | if (use_proxy) { | 592 | if (use_proxy) { |
591 | proxy = getenv(target.is_ftp ? "ftp_proxy" : "http_proxy"); | 593 | proxy = getenv(target.is_ftp ? "ftp_proxy" : "http_proxy"); |
592 | if (proxy && proxy[0]) { | 594 | if (proxy && proxy[0]) { |
595 | server.user = NULL; | ||
593 | parse_url(proxy, &server); | 596 | parse_url(proxy, &server); |
594 | } else { | 597 | } else { |
595 | use_proxy = 0; | 598 | use_proxy = 0; |