Patch from Steven Scholz to fix compiler warnings

This commit is contained in:
Glenn L McGrath 2004-03-05 09:38:16 +00:00
parent fca056f691
commit 3d752f7ab2

View File

@ -1490,18 +1490,20 @@ static void handleIncoming(void)
char *purl; char *purl;
int blank = -1; int blank = -1;
char *urlArgs; char *urlArgs;
char *test;
struct stat sb;
int ip_allowed;
#ifdef CONFIG_FEATURE_HTTPD_CGI #ifdef CONFIG_FEATURE_HTTPD_CGI
const char *prequest = request_GET; const char *prequest = request_GET;
long length=0; long length=0;
char *cookie = 0; char *cookie = 0;
char *content_type = 0; char *content_type = 0;
#endif #endif
char *test; #ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
struct stat sb; fd_set s_fd;
int ip_allowed; struct timeval tv;
fd_set s_fd ;
struct timeval tv ;
int retval; int retval;
#endif
#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH #ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
int credentials = -1; /* if not requred this is Ok */ int credentials = -1; /* if not requred this is Ok */