mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[http] const code
This commit is contained in:
parent
18d0a9cd9c
commit
194a34a4be
@ -883,7 +883,7 @@ http_send_header(struct socket *socket)
|
||||
}
|
||||
#ifdef CONFIG_NLS
|
||||
else if (get_opt_bool("protocol.http.accept_ui_language", NULL)) {
|
||||
char *code = language_to_iso639(current_language);
|
||||
const char *code = language_to_iso639(current_language);
|
||||
|
||||
if (code) {
|
||||
add_to_string(&header, "Accept-Language: ");
|
||||
|
Loading…
Reference in New Issue
Block a user