From 402b662def00811dc52112aeac7b8e0c9ebaa308 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 7 Aug 2009 03:54:08 +0530 Subject: Fix const warning --- src/http-message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/http-message.c b/src/http-message.c index 70357b8..7f54f0d 100644 --- a/src/http-message.c +++ b/src/http-message.c @@ -46,7 +46,7 @@ struct http_message_s */ struct { - char **strings; + const char **strings; unsigned int total; unsigned int used; } headers; @@ -189,7 +189,7 @@ int http_message_add_headers (http_message_t msg, const char **headers, int num_headers) { - char **new_headers; + const char **new_headers; int i; /* Check for valid arguments */ -- cgit v1.2.3