2007-10-05 08:27:49 +08:00
|
|
|
Index: busybox-1.7.2/networking/httpd.c
|
2007-06-04 19:25:53 +08:00
|
|
|
===================================================================
|
2007-10-31 04:36:25 +08:00
|
|
|
--- 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 @@
|
2007-03-01 01:58:23 +08:00
|
|
|
#if ENABLE_FEATURE_HTTPD_BASIC_AUTH
|
|
|
|
int credentials = -1; /* if not required this is Ok */
|
|
|
|
#endif
|
|
|
|
+ xchdir(home_httpd);
|
|
|
|
|
2007-10-05 08:27:49 +08:00
|
|
|
/* Allocation of iobuf is postponed until now
|
|
|
|
* (IOW, server process doesn't need to waste 8k) */
|