From 194a34a4be093d31fc7162a52ed806fdd00c3463 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 21 Feb 2022 17:55:31 +0100 Subject: [PATCH] [http] const code --- src/protocol/http/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c index c322eb285..e3f06fff0 100644 --- a/src/protocol/http/http.c +++ b/src/protocol/http/http.c @@ -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: ");