summaryrefslogtreecommitdiff
path: root/src/html-error.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:44:47 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:44:47 +0200
commit20b606b6f5c05314e7005bdf2208c24e0bb41d2c (patch)
treeb73ba01ef9ea6f219f966ada587f206d04c26c9b /src/html-error.c
parent251a975126725e84402c33a1b2ad56d56f869ab2 (diff)
downloadtinyproxy-20b606b6f5c05314e7005bdf2208c24e0bb41d2c.tar.gz
tinyproxy-20b606b6f5c05314e7005bdf2208c24e0bb41d2c.zip
make message argument to send_http_headers() constant.
Michael
Diffstat (limited to '')
-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 47e4275..6037ae6 100644
--- a/src/html-error.c
+++ b/src/html-error.c
@@ -172,7 +172,7 @@ send_html_file (FILE * infile, struct conn_s *connptr)
}
int
-send_http_headers (struct conn_s *connptr, int code, char *message)
+send_http_headers (struct conn_s *connptr, int code, const char *message)
{
char *headers =
"HTTP/1.0 %d %s\r\n"