summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-12 23:49:16 +0200
committerMichael Adam <obnox@samba.org>2009-08-12 23:49:16 +0200
commit0d585dca8dbfe4df3318c490a1db2bf51c2f285c (patch)
treed0c6d4c3e49ad19b73da2ef0be7bd49b48b0ccc2
parentc59d012d114570966e434356fb2a60e09d8cfaf0 (diff)
downloadtinyproxy-0d585dca8dbfe4df3318c490a1db2bf51c2f285c.tar.gz
tinyproxy-0d585dca8dbfe4df3318c490a1db2bf51c2f285c.zip
Fix compiler warnings: make const strings const in process_client_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 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",