aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c3
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;