cvs: php4 /main SAPI.c
| From: | Stefan Esser | Date: | Wed, 04 Sep 2002 20:27:35 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13835@lists.php.net to get a copy of this message | ||
sesser Wed Sep 4 16:27:35 2002 EDT
Modified files:
/php4/main SAPI.c
Log:
This 2 lines should have been removed when the header() code was rewritten.
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.147 php4/main/SAPI.c:1.148
--- php4/main/SAPI.c:1.147 Thu Aug 22 03:56:39 2002
+++ php4/main/SAPI.c Wed Sep 4 16:27:35 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.147 2002/08/22 07:56:39 chregu Exp $ */
+/* $Id: SAPI.c,v 1.148 2002/09/04 20:27:35 sesser Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -530,8 +530,6 @@
strlcat(newheader, mimetype, newlen);
sapi_header.header = newheader;
sapi_header.header_len = newlen - 1;
- colon_offset = strchr(newheader, ':');
- *colon_offset = '\0';
efree(header_line);
}
efree(mimetype);