busybox: Fixed remote logging bug in which starting syslog before the network (and...
[openwrt.git] / package / busybox / patches / 410-httpd_cgi_headers.patch
index 97f2a3cc2c876f1fd8547e88ccde329d5526a3ca..74baa7ab92b80311066198db8d9455d5ea063a8f 100644 (file)
@@ -1,9 +1,7 @@
-Index: busybox-1.7.2/networking/httpd.c
-===================================================================
---- busybox-1.7.2.orig/networking/httpd.c      2007-10-30 15:35:03.000000000 -0500
-+++ busybox-1.7.2/networking/httpd.c   2007-10-30 15:35:04.000000000 -0500
-@@ -1316,10 +1316,10 @@
-                                               if (full_write(1, HTTP_200, sizeof(HTTP_200)-1) != sizeof(HTTP_200)-1)
+--- a/networking/httpd.c
++++ b/networking/httpd.c
+@@ -1254,10 +1254,10 @@ static NOINLINE void cgi_io_loop_and_exi
+                                               if (full_write(STDOUT_FILENO, HTTP_200, sizeof(HTTP_200)-1) != sizeof(HTTP_200)-1)
                                                        break;
                                        }
 -                                      /* Commented out: