diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 08:41:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 08:41:36 +0200 |
commit | 251a975126725e84402c33a1b2ad56d56f869ab2 (patch) | |
tree | 86265ddc747b9af322ffb91506e507f719b1e0cf /src/html-error.h | |
parent | 05d1b2b372243d106a8a22d771a20542675e0048 (diff) |
add_error_variable(): make key and data arguments const
Michael
Diffstat (limited to 'src/html-error.h')
-rw-r--r-- | src/html-error.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html-error.h b/src/html-error.h index b1ace83..95578eb 100644 --- a/src/html-error.h +++ b/src/html-error.h @@ -28,7 +28,8 @@ 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, ...); -extern int add_error_variable (struct conn_s *connptr, char *key, char *val); +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); extern int send_http_headers (struct conn_s *connptr, int code, char *message); |