[BusyBox-cvs] busybox/networking httpd.c,1.2,1.3

Glenn McGrath bug1 at busybox.net
Mon Feb 10 22:28:24 UTC 2003


Update of /var/cvs/busybox/networking
In directory winder:/tmp/cvs-serv17202/networking

Modified Files:
	httpd.c 
Log Message:
Fix compile error, last_patch81 by Vladimir N. Oleynik


Index: httpd.c
===================================================================
RCS file: /var/cvs/busybox/networking/httpd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- httpd.c	9 Feb 2003 06:51:14 -0000	1.2
+++ httpd.c	10 Feb 2003 22:28:21 -0000	1.3
@@ -882,10 +882,12 @@
 	"Date: %s\r\nConnection: close\r\n",
 	  responseNum, responseString, config->found_mime_type, timeStr);
 
+#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
   if (responseNum == HTTP_UNAUTHORIZED) {
     len += sprintf(buf+len, "WWW-Authenticate: Basic realm=\"%s\"\r\n",
 							    config->realm);
   }
+#endif
   if (config->ContentLength != -1) {    /* file */
     strftime(timeStr, sizeof(timeStr), RFC1123FMT, gmtime(&config->last_mod));
     len += sprintf(buf+len, "Last-Modified: %s\r\n%s %ld\r\n",
@@ -1519,7 +1521,6 @@
 	if(length < 0)          // closed
 		length = 0;
 	body[length] = 0;       // always null terminate for safety
-	urlArgs = body;
       }
     }
 




More information about the busybox-cvs mailing list