summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-08-07 03:54:08 +0530
committerMukund Sivaraman <muks@banu.com>2009-08-07 03:54:08 +0530
commit402b662def00811dc52112aeac7b8e0c9ebaa308 (patch)
treecf8471b116feef7dc6d7915e4f9bd5f3a63f44de /src
parenta21cd7e3ed97041af3bb4c2c124f2474b78574ad (diff)
downloadtinyproxy-402b662def00811dc52112aeac7b8e0c9ebaa308.tar.gz
tinyproxy-402b662def00811dc52112aeac7b8e0c9ebaa308.zip
Fix const warning
Diffstat (limited to 'src')
-rw-r--r--src/http-message.c4
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 */