diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-01 01:53:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-01 01:53:25 +0000 |
commit | de55b5d014ac8800f0e7bfffa9a74d93beec28af (patch) | |
tree | 889b90d5fc54b232ac5eeb99ba4e6267703f78a9 /networking/wget.c | |
parent | 4bb31899e5fe8e25b2e79b468de87007933c4eb9 (diff) | |
download | busybox-w32-de55b5d014ac8800f0e7bfffa9a74d93beec28af.tar.gz busybox-w32-de55b5d014ac8800f0e7bfffa9a74d93beec28af.tar.bz2 busybox-w32-de55b5d014ac8800f0e7bfffa9a74d93beec28af.zip |
correct wget's comment
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index 7766bde88..432756ce5 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -535,7 +535,7 @@ static void parse_url(char *src_url, struct host_info *h) | |||
535 | p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p; | 535 | p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p; |
536 | p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p; | 536 | p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p; |
537 | if (!sp) { | 537 | if (!sp) { |
538 | /* gcc 4.1.1 bug: h->path = "" puts "" in rodata! */ | 538 | /* must be writable because of bb_get_last_path_component() */ |
539 | static char nullstr[] = ""; | 539 | static char nullstr[] = ""; |
540 | h->path = nullstr; | 540 | h->path = nullstr; |
541 | } else if (*sp == '/') { | 541 | } else if (*sp == '/') { |