aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-29 00:32:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-29 00:32:35 +0000
commit540ab7097c2932e8ef9e3bbb6abf5604c05acdde (patch)
treedfbfbd5a475774bc4babd6fc5b947ca6ec45b25b /networking/wget.c
parent259c9a6e9074d6f63790034af78befeca9a74833 (diff)
downloadbusybox-w32-540ab7097c2932e8ef9e3bbb6abf5604c05acdde.tar.gz
busybox-w32-540ab7097c2932e8ef9e3bbb6abf5604c05acdde.tar.bz2
busybox-w32-540ab7097c2932e8ef9e3bbb6abf5604c05acdde.zip
wget: "support" -t and -T by ignoring them
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index b45811533..8606b9b38 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -449,9 +449,11 @@ int wget_main(int argc ATTRIBUTE_UNUSED, char **argv)
449#endif 449#endif
450 /* server.allocated = target.allocated = NULL; */ 450 /* server.allocated = target.allocated = NULL; */
451 opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::"); 451 opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::");
452 opt = getopt32(argv, "csqO:P:Y:U:", 452 opt = getopt32(argv, "csqO:P:Y:U:" /*ignored:*/ "t:T:",
453 &fname_out, &dir_prefix, 453 &fname_out, &dir_prefix,
454 &proxy_flag, &user_agent 454 &proxy_flag, &user_agent,
455 NULL, /* -t RETRIES */
456 NULL /* -T NETWORK_READ_TIMEOUT */
455 USE_FEATURE_WGET_LONG_OPTIONS(, &headers_llist) 457 USE_FEATURE_WGET_LONG_OPTIONS(, &headers_llist)
456 ); 458 );
457 if (strcmp(proxy_flag, "off") == 0) { 459 if (strcmp(proxy_flag, "off") == 0) {