diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/html-error.c | 3 | ||||
-rw-r--r-- | src/html-error.h | 2 |
2 files changed, 3 insertions, 2 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; diff --git a/src/html-error.h b/src/html-error.h index 535cbf6..03cec98 100644 --- a/src/html-error.h +++ b/src/html-error.h @@ -27,7 +27,7 @@ struct conn_s; extern int add_new_errorpage (char *filepath, unsigned int errornum); extern int send_http_error_message (struct conn_s *connptr); extern int indicate_http_error (struct conn_s *connptr, int number, - char *message, ...); + const char *message, ...); extern int add_error_variable (struct conn_s *connptr, const char *key, const char *val); extern int send_html_file (FILE * infile, struct conn_s *connptr); |