[BusyBox-cvs] busybox/networking httpd.c,1.23,1.24
Glenn McGrath
bug1 at busybox.net
Fri Mar 5 09:38:18 UTC 2004
Update of /var/cvs/busybox/networking
In directory nail:/tmp/cvs-serv21252/networking
Modified Files:
httpd.c
Log Message:
Patch from Steven Scholz to fix compiler warnings
Index: httpd.c
===================================================================
RCS file: /var/cvs/busybox/networking/httpd.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- a/httpd.c 24 Feb 2004 07:28:38 -0000 1.23
+++ b/httpd.c 5 Mar 2004 09:38:16 -0000 1.24
@@ -1490,18 +1490,20 @@
char *purl;
int blank = -1;
char *urlArgs;
+ char *test;
+ struct stat sb;
+ int ip_allowed;
#ifdef CONFIG_FEATURE_HTTPD_CGI
const char *prequest = request_GET;
long length=0;
char *cookie = 0;
char *content_type = 0;
#endif
- char *test;
- struct stat sb;
- int ip_allowed;
- fd_set s_fd ;
- struct timeval tv ;
+#ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
+ fd_set s_fd;
+ struct timeval tv;
int retval;
+#endif
#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
int credentials = -1; /* if not requred this is Ok */
More information about the busybox-cvs
mailing list