summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-01 01:53:25 +0000
committerDenis Vlasenko2007-02-01 01:53:25 +0000
commitde55b5d014ac8800f0e7bfffa9a74d93beec28af (patch)
tree889b90d5fc54b232ac5eeb99ba4e6267703f78a9
parent4bb31899e5fe8e25b2e79b468de87007933c4eb9 (diff)
downloadbusybox-de55b5d014ac8800f0e7bfffa9a74d93beec28af.zip
busybox-de55b5d014ac8800f0e7bfffa9a74d93beec28af.tar.gz
correct wget's comment
-rw-r--r--networking/wget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 7766bde..432756c 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -535,7 +535,7 @@ static void parse_url(char *src_url, struct host_info *h)
p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p;
p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p;
if (!sp) {
- /* gcc 4.1.1 bug: h->path = "" puts "" in rodata! */
+ /* must be writable because of bb_get_last_path_component() */
static char nullstr[] = "";
h->path = nullstr;
} else if (*sp == '/') {