html-error: make read only argument const in lookup_variable().
Michael
This commit is contained in:
parent
76dadf47d3
commit
3adec81872
@ -88,7 +88,7 @@ get_html_file (unsigned int errornum)
|
|||||||
* Look up the value for a variable.
|
* Look up the value for a variable.
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
lookup_variable (struct conn_s *connptr, char *varname)
|
lookup_variable (struct conn_s *connptr, const char *varname)
|
||||||
{
|
{
|
||||||
hashmap_iter result_iter;
|
hashmap_iter result_iter;
|
||||||
char *key;
|
char *key;
|
||||||
|
Loading…
Reference in New Issue
Block a user