summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:49:21 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:49:21 +0200
commit1c3c268b50bf890e4441579df2db8100c05851d9 (patch)
treee33dd978a00ebae228024118d92c1cb1a2351e06
parentc8ee85702e2f038cc55dfc7e55cbf1be00d592a5 (diff)
downloadtinyproxy-1c3c268b50bf890e4441579df2db8100c05851d9.tar.gz
tinyproxy-1c3c268b50bf890e4441579df2db8100c05851d9.zip
make a const string const in send_http_headers().
Michael
-rw-r--r--src/html-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html-error.c b/src/html-error.c
index f4a6150..692ff8d 100644
--- a/src/html-error.c
+++ b/src/html-error.c
@@ -174,7 +174,7 @@ send_html_file (FILE * infile, struct conn_s *connptr)
int
send_http_headers (struct conn_s *connptr, int code, const char *message)
{
- char *headers =
+ const char *headers =
"HTTP/1.0 %d %s\r\n"
"Server: %s/%s\r\n"
"Content-Type: text/html\r\n" "Connection: close\r\n" "\r\n";