From c8ee85702e2f038cc55dfc7e55cbf1be00d592a5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 08:48:51 +0200 Subject: make message argument of indicate_http_error() const. Michael --- src/html-error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/html-error.c') 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; -- cgit v1.2.3