Fix const warning

This commit is contained in:
Mukund Sivaraman 2009-08-07 03:54:08 +05:30
parent a21cd7e3ed
commit 402b662def

View File

@ -46,7 +46,7 @@ struct http_message_s
*/ */
struct struct
{ {
char **strings; const char **strings;
unsigned int total; unsigned int total;
unsigned int used; unsigned int used;
} headers; } headers;
@ -189,7 +189,7 @@ int
http_message_add_headers (http_message_t msg, const char **headers, http_message_add_headers (http_message_t msg, const char **headers,
int num_headers) int num_headers)
{ {
char **new_headers; const char **new_headers;
int i; int i;
/* Check for valid arguments */ /* Check for valid arguments */