commit dabb5410e763c372dfb7c05306c2a44c1c35b597
parent 7936a3a36df6b89c44487c74e0c4ec3ecf307677
Author: finwo <finwo@pm.me>
Date: Sat, 8 Jul 2023 22:22:19 +0200
Fix building
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/http-parser.h b/src/http-parser.h
@@ -53,8 +53,8 @@ struct http_parser_pair {
// Header management
char *http_parser_header_get(struct http_parser_message *subject, const char *key);
-void http_parser_header_set(struct http_parser_message *subject ,const char *key, char *value);
-void http_parser_header_add(struct http_parser_message *subject ,const char *key, char *value);
+void http_parser_header_set(struct http_parser_message *subject ,const char *key, const char *value);
+void http_parser_header_add(struct http_parser_message *subject ,const char *key, const char *value);
void http_parser_header_del(struct http_parser_message *subject, const char *key);
struct http_parser_pair * http_parser_pair_init(void *udata);