diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 19:39:13 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 19:39:49 +0100 |
commit | 0e7c0877717534db5ecac58df9f01c60776e85db (patch) | |
tree | a1d80779bbe39e5689018f4fcde177f021172c8a /main.c | |
parent | 119244d9b13e84eb898f9fb97e83cac260c1a0b5 (diff) |
remove #ifdef HAVE_CGI
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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); |