diff options
-rw-r--r-- | networking/httpd.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 6374e670f..f2fd2b38d 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1490,18 +1490,20 @@ static void handleIncoming(void) | |||
1490 | char *purl; | 1490 | char *purl; |
1491 | int blank = -1; | 1491 | int blank = -1; |
1492 | char *urlArgs; | 1492 | char *urlArgs; |
1493 | char *test; | ||
1494 | struct stat sb; | ||
1495 | int ip_allowed; | ||
1493 | #ifdef CONFIG_FEATURE_HTTPD_CGI | 1496 | #ifdef CONFIG_FEATURE_HTTPD_CGI |
1494 | const char *prequest = request_GET; | 1497 | const char *prequest = request_GET; |
1495 | long length=0; | 1498 | long length=0; |
1496 | char *cookie = 0; | 1499 | char *cookie = 0; |
1497 | char *content_type = 0; | 1500 | char *content_type = 0; |
1498 | #endif | 1501 | #endif |
1499 | char *test; | 1502 | #ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY |
1500 | struct stat sb; | 1503 | fd_set s_fd; |
1501 | int ip_allowed; | 1504 | struct timeval tv; |
1502 | fd_set s_fd ; | ||
1503 | struct timeval tv ; | ||
1504 | int retval; | 1505 | int retval; |
1506 | #endif | ||
1505 | 1507 | ||
1506 | #ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH | 1508 | #ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH |
1507 | int credentials = -1; /* if not requred this is Ok */ | 1509 | int credentials = -1; /* if not requred this is Ok */ |