summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-12 23:47:45 +0200
committerMichael Adam <obnox@samba.org>2009-08-12 23:47:45 +0200
commitc59d012d114570966e434356fb2a60e09d8cfaf0 (patch)
treec038a3250e8c4b7a3e542a3afa1233f425be8bae
parent1bfe8b6bea136d4ac39c58f9e7585fcfa38be225 (diff)
downloadtinyproxy-c59d012d114570966e434356fb2a60e09d8cfaf0.tar.gz
tinyproxy-c59d012d114570966e434356fb2a60e09d8cfaf0.zip
Fix compiler warnings: Make const strings const in remove_connection_headers()
Michael
Diffstat (limited to '')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
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"
};