summaryrefslogtreecommitdiff
path: root/src/html-error.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:41:36 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:41:36 +0200
commit251a975126725e84402c33a1b2ad56d56f869ab2 (patch)
tree86265ddc747b9af322ffb91506e507f719b1e0cf /src/html-error.c
parent05d1b2b372243d106a8a22d771a20542675e0048 (diff)
downloadtinyproxy-251a975126725e84402c33a1b2ad56d56f869ab2.tar.gz
tinyproxy-251a975126725e84402c33a1b2ad56d56f869ab2.zip
add_error_variable(): make key and data arguments const
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 09116a6..47e4275 100644
--- a/src/html-error.c
+++ b/src/html-error.c
@@ -229,7 +229,7 @@ send_http_error_message (struct conn_s *connptr)
#define ERRVAR_BUCKETCOUNT 16
int
-add_error_variable (struct conn_s *connptr, char *key, char *val)
+add_error_variable (struct conn_s *connptr, const char *key, const char *val)
{
if (!connptr->error_variables)
if (!(connptr->error_variables = hashmap_create (ERRVAR_BUCKETCOUNT)))