cvs: php4 /sapi/cgi cgi_main.c
| From: | Jani Taskinen | Date: | Mon, 26 May 2003 23:22:06 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21280@lists.php.net to get a copy of this message | ||
sniper Mon May 26 19:22:06 2003 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
MFB: nuked php_header() call from the sapi_cgi_log_message()
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.228 php4/sapi/cgi/cgi_main.c:1.229
--- php4/sapi/cgi/cgi_main.c:1.228 Sun May 25 20:46:24 2003
+++ php4/sapi/cgi/cgi_main.c Mon May 26 19:22:05 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.228 2003/05/26 00:46:24 shane Exp $ */
+/* $Id: cgi_main.c,v 1.229 2003/05/26 23:22:05 sniper Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -468,12 +468,7 @@
static void sapi_cgi_log_message(char *message)
{
- TSRMLS_FETCH();
-
- if (php_header(TSRMLS_C)) {
- fprintf(stderr, "%s", message);
- fprintf(stderr, "\n");
- }
+ fprintf(stderr, "%s\n", message);
}
static int sapi_cgi_deactivate(TSRMLS_D)