From 0d585dca8dbfe4df3318c490a1db2bf51c2f285c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 Aug 2009 23:49:16 +0200 Subject: Fix compiler warnings: make const strings const in process_client_headers(). Michael --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reqs.c b/src/reqs.c index d06a7bf..dfb39fb 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -1107,7 +1107,7 @@ write_via_header (int fd, hashmap_t hashofheaders, static int process_client_headers (struct conn_s *connptr, hashmap_t hashofheaders) { - static char *skipheaders[] = { + static const char *skipheaders[] = { "host", "keep-alive", "proxy-connection", -- cgit v1.2.3