cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c
| From: | Jani Taskinen | Date: | Mon, 26 May 2003 23:21:09 +0000 |
| Subject: | cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21279@lists.php.net to get a copy of this message | ||
sniper Mon May 26 19:21:09 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/sapi/cgi cgi_main.c
Log:
Nuke the php_header() call here. Fixes the rest of #14409.
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.190.2.31 php4/sapi/cgi/cgi_main.c:1.190.2.32
--- php4/sapi/cgi/cgi_main.c:1.190.2.31 Sun May 25 15:22:25 2003
+++ php4/sapi/cgi/cgi_main.c Mon May 26 19:21:08 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.190.2.31 2003/05/25 19:22:25 shane Exp $ */
+/* $Id: cgi_main.c,v 1.190.2.32 2003/05/26 23:21:08 sniper Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -444,10 +444,7 @@
static void sapi_cgi_log_message(char *message)
{
- if (php_header()) {
- fprintf(stderr, "%s", message);
- fprintf(stderr, "\n");
- }
+ fprintf(stderr, "%s\n", message);
}
static int sapi_cgi_deactivate(TSRMLS_D)