diff options
Diffstat (limited to 'src/html-error.c')
-rw-r--r-- | src/html-error.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/html-error.c b/src/html-error.c index 640ac53..38adf85 100644 --- a/src/html-error.c +++ b/src/html-error.c @@ -84,27 +84,6 @@ static char *get_html_file (unsigned int errornum) } /* - * Look up the value for a variable. - */ -static char *lookup_variable (hashmap_t map, const char *varname) -{ - hashmap_iter result_iter; - char *key; - char *data; - - result_iter = hashmap_find (map, varname); - - if (hashmap_is_end (map, result_iter)) - return (NULL); - - if (hashmap_return_entry (map, result_iter, - &key, (void **) &data) < 0) - return (NULL); - - return (data); -} - -/* * Send an already-opened file to the client with variable substitution. */ int |