From c59d012d114570966e434356fb2a60e09d8cfaf0 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 Aug 2009 23:47:45 +0200 Subject: Fix compiler warnings: Make const strings const in remove_connection_headers() Michael --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/reqs.c') diff --git a/src/reqs.c b/src/reqs.c index 55de1f5..d06a7bf 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -979,7 +979,7 @@ get_all_headers (int fd, hashmap_t hashofheaders) static int remove_connection_headers (hashmap_t hashofheaders) { - static char *headers[] = { + static const char *headers[] = { "connection", "proxy-connection" }; -- cgit v1.2.3