commit 36cf2f2d2a40f4fea9fb6a910b7ab48a5dae9ce6
parent 2cef909cdd985117c9d3aa041f2e0a9323355199
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 16 Apr 2022 14:28:08 +0300
connection: removed drop of 'const' qualifier
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -486,9 +486,9 @@ MHD_set_connection_value_n_nocheck_ (struct MHD_Connection *connection,
sizeof (struct MHD_HTTP_Res_Header));
if (NULL == pos)
return MHD_NO;
- pos->header = (char *) key;
+ pos->header = key;
pos->header_size = key_size;
- pos->value = (char *) value;
+ pos->value = value;
pos->value_size = value_size;
pos->kind = kind;
pos->next = NULL;