summaryrefslogtreecommitdiff
path: root/src/html-error.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:48:51 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:48:51 +0200
commitc8ee85702e2f038cc55dfc7e55cbf1be00d592a5 (patch)
treeb9adb6d4e1fa89245c95df445fda203159a9e45e /src/html-error.c
parent20b606b6f5c05314e7005bdf2208c24e0bb41d2c (diff)
downloadtinyproxy-c8ee85702e2f038cc55dfc7e55cbf1be00d592a5.tar.gz
tinyproxy-c8ee85702e2f038cc55dfc7e55cbf1be00d592a5.zip
make message argument of indicate_http_error() const.
Michael
Diffstat (limited to '')
-rw-r--r--src/html-error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html-error.c b/src/html-error.c
index 6037ae6..f4a6150 100644
--- a/src/html-error.c
+++ b/src/html-error.c
@@ -286,7 +286,8 @@ add_standard_vars (struct conn_s *connptr)
* Add the error information to the conn structure.
*/
int
-indicate_http_error (struct conn_s *connptr, int number, char *message, ...)
+indicate_http_error (struct conn_s *connptr, int number,
+ const char *message, ...)
{
va_list ap;
char *key, *val;