1
0
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:
Witold Filipczyk 2022-02-21 17:55:31 +01:00
parent 18d0a9cd9c
commit 194a34a4be

View File

@ -883,7 +883,7 @@ http_send_header(struct socket *socket)
} }
#ifdef CONFIG_NLS #ifdef CONFIG_NLS
else if (get_opt_bool("protocol.http.accept_ui_language", NULL)) { 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) { if (code) {
add_to_string(&header, "Accept-Language: "); add_to_string(&header, "Accept-Language: ");