From 3adec818726bc33a1c5eaf2739b2bf4e000c06cc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 08:53:26 +0200 Subject: html-error: make read only argument const in lookup_variable(). Michael --- src/html-error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3