diff options
-rw-r--r-- | toys/pending/wget.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/pending/wget.c b/toys/pending/wget.c index 16672a24..21d44466 100644 --- a/toys/pending/wget.c +++ b/toys/pending/wget.c @@ -144,8 +144,7 @@ void wget_main(void) if(!toys.optargs[0]) help_exit("no URL"); get_info(toys.optargs[0], hostname, port, path); - - sprintf("/%s", TOYBOX_VERSION); + sprintf(ua+11, "/%s", TOYBOX_VERSION); for (;; redirects--) { sock = conn_svr(hostname, port); // compose HTTP request |