diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-08-07 03:54:08 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-08-07 03:54:08 +0530 |
commit | 402b662def00811dc52112aeac7b8e0c9ebaa308 (patch) | |
tree | cf8471b116feef7dc6d7915e4f9bd5f3a63f44de | |
parent | a21cd7e3ed97041af3bb4c2c124f2474b78574ad (diff) | |
download | tinyproxy-402b662def00811dc52112aeac7b8e0c9ebaa308.tar.gz tinyproxy-402b662def00811dc52112aeac7b8e0c9ebaa308.zip |
Fix const warning
-rw-r--r-- | src/http-message.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |