summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:53:26 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:53:26 +0200
commit3adec818726bc33a1c5eaf2739b2bf4e000c06cc (patch)
tree22ae77c461866bc027445a5b3f56f9457bd60027
parent76dadf47d3ddf406162b7956f0dc64ba26e2b993 (diff)
downloadtinyproxy-3adec818726bc33a1c5eaf2739b2bf4e000c06cc.tar.gz
tinyproxy-3adec818726bc33a1c5eaf2739b2bf4e000c06cc.zip
html-error: make read only argument const in lookup_variable().
Michael
-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 2b32a84..045a334 100644
--- a/src/html-error.c
+++ b/src/html-error.c
@@ -88,7 +88,7 @@ get_html_file (unsigned int errornum)
* Look up the value for a variable.
*/
static char *
-lookup_variable (struct conn_s *connptr, char *varname)
+lookup_variable (struct conn_s *connptr, const char *varname)
{
hashmap_iter result_iter;
char *key;