summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-12 23:49:46 +0200
committerMichael Adam <obnox@samba.org>2009-08-12 23:49:46 +0200
commit4092c70b063d958e2c3ddb9020bdab60e6e26aa2 (patch)
treebcbbcd9c3e94b23dd8d98cac2141312315f334f1
parent0d585dca8dbfe4df3318c490a1db2bf51c2f285c (diff)
downloadtinyproxy-4092c70b063d958e2c3ddb9020bdab60e6e26aa2.tar.gz
tinyproxy-4092c70b063d958e2c3ddb9020bdab60e6e26aa2.zip
Fix compiler warnings: make const strings const in process_server_headers().
Michael
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index dfb39fb..c5217e9 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1223,7 +1223,7 @@ PULL_CLIENT_DATA:
static int
process_server_headers (struct conn_s *connptr)
{
- static char *skipheaders[] = {
+ static const char *skipheaders[] = {
"keep-alive",
"proxy-authenticate",
"proxy-authorization",