[busybox] At boot, the startup process is executed in a non-interactive shell. Defaul...
[openwrt.git] / package / busybox / patches / 440-httpd_chdir.patch
index e7ae3bca77d4d2838bfc4c800aa6a1d4084f2574..0abea5dc3b89a807502ade3adbc9250a0e3d954a 100644 (file)
@@ -1,10 +1,8 @@
-Index: busybox-1.7.2/networking/httpd.c
-===================================================================
---- busybox-1.7.2.orig/networking/httpd.c      2007-10-30 15:35:04.000000000 -0500
-+++ busybox-1.7.2/networking/httpd.c   2007-10-30 15:35:04.000000000 -0500
-@@ -1618,6 +1618,7 @@
- #if ENABLE_FEATURE_HTTPD_BASIC_AUTH
-       int credentials = -1;  /* if not required this is Ok */
+--- a/networking/httpd.c
++++ b/networking/httpd.c
+@@ -1810,6 +1810,7 @@ static void handle_incoming_and_exit(con
+       char *header_ptr = header_ptr;
+       Htaccess_Proxy *proxy_entry;
  #endif
 +      xchdir(home_httpd);