From 0e7c0877717534db5ecac58df9f01c60776e85db Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 4 Jan 2013 19:39:13 +0100 Subject: remove #ifdef HAVE_CGI --- main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/main.c b/main.c index ab6fbb0..160f932 100644 --- a/main.c +++ b/main.c @@ -84,20 +84,14 @@ static void uh_config_parse(void) conf.error_handler = strdup(col1); } -#ifdef HAVE_CGI else if ((line[0] == '*') && (strchr(line, ':') != NULL)) { if (!(col1 = strchr(line, '*')) || (*col1++ = 0) || !(col2 = strchr(col1, ':')) || (*col2++ = 0) || !(eol = strchr(col2, '\n')) || (*eol++ = 0)) continue; - if (!uh_interpreter_add(col1, col2)) - fprintf(stderr, - "Unable to add interpreter %s for extension %s: " - "Out of memory\n", col2, col1 - ); + uh_interpreter_add(col1, col2); } -#endif } fclose(c); -- cgit v1.2.3