projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259c9a6
)
wget: "support" -t and -T by ignoring them
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 29 Jun 2008 00:32:35 +0000
(
00:32
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 29 Jun 2008 00:32:35 +0000
(
00:32
-0000)
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index b4581153334138dbc79424d118bc1314a3370315..8606b9b38fab87d9c5d180a9378b8ef4e29bfb2f 100644
(file)
--- a/
networking/wget.c
+++ b/
networking/wget.c
@@
-449,9
+449,11
@@
int wget_main(int argc ATTRIBUTE_UNUSED, char **argv)
#endif
/* server.allocated = target.allocated = NULL; */
opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::");
- opt = getopt32(argv, "csqO:P:Y:U:",
+ opt = getopt32(argv, "csqO:P:Y:U:"
/*ignored:*/ "t:T:"
,
&fname_out, &dir_prefix,
- &proxy_flag, &user_agent
+ &proxy_flag, &user_agent,
+ NULL, /* -t RETRIES */
+ NULL /* -T NETWORK_READ_TIMEOUT */
USE_FEATURE_WGET_LONG_OPTIONS(, &headers_llist)
);
if (strcmp(proxy_flag, "off") == 0) {