diff options
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/wget.c b/networking/wget.c index 7b583c7ab..d90368c40 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -114,7 +114,7 @@ int wget_main(int argc, char **argv) | |||
114 | bool use_proxy = 1; /* Use proxies if env vars are set */ | 114 | bool use_proxy = 1; /* Use proxies if env vars are set */ |
115 | const char *proxy_flag = "on"; /* Use proxies if env vars are set */ | 115 | const char *proxy_flag = "on"; /* Use proxies if env vars are set */ |
116 | const char *user_agent = "Wget";/* "User-Agent" header field */ | 116 | const char *user_agent = "Wget";/* "User-Agent" header field */ |
117 | static const char keywords[] = | 117 | static const char keywords[] ALIGN1 = |
118 | "content-length\0""transfer-encoding\0""chunked\0""location\0"; | 118 | "content-length\0""transfer-encoding\0""chunked\0""location\0"; |
119 | enum { | 119 | enum { |
120 | KEY_content_length = 1, KEY_transfer_encoding, KEY_chunked, KEY_location | 120 | KEY_content_length = 1, KEY_transfer_encoding, KEY_chunked, KEY_location |
@@ -131,7 +131,7 @@ int wget_main(int argc, char **argv) | |||
131 | WGET_OPT_HEADER = 0x100, | 131 | WGET_OPT_HEADER = 0x100, |
132 | }; | 132 | }; |
133 | #if ENABLE_FEATURE_WGET_LONG_OPTIONS | 133 | #if ENABLE_FEATURE_WGET_LONG_OPTIONS |
134 | static const char wget_longopts[] = | 134 | static const char wget_longopts[] ALIGN1 = |
135 | /* name, has_arg, val */ | 135 | /* name, has_arg, val */ |
136 | "continue\0" No_argument "c" | 136 | "continue\0" No_argument "c" |
137 | "spider\0" No_argument "s" | 137 | "spider\0" No_argument "s" |
@@ -539,7 +539,7 @@ static void parse_url(char *src_url, struct host_info *h) | |||
539 | p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p; | 539 | p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p; |
540 | if (!sp) { | 540 | if (!sp) { |
541 | /* must be writable because of bb_get_last_path_component() */ | 541 | /* must be writable because of bb_get_last_path_component() */ |
542 | static char nullstr[] = ""; | 542 | static char nullstr[] ALIGN1 = ""; |
543 | h->path = nullstr; | 543 | h->path = nullstr; |
544 | } else if (*sp == '/') { | 544 | } else if (*sp == '/') { |
545 | *sp = '\0'; | 545 | *sp = '\0'; |