summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-05-26 23:21:08 +0000
committerfoobar <sniper@php.net>2003-05-26 23:21:08 +0000
commitb5c6ea479ddf17a3d1332480daa48e4d6e11c299 (patch)
tree450063fa9e7b995f758d93f8ccff7d78ca392822
parent9990a0a30164cd6c98f1c3259bdb06708bcb7ff6 (diff)
downloadphp-git-b5c6ea479ddf17a3d1332480daa48e4d6e11c299.tar.gz
Nuke the php_header() call here. Fixes the rest of #14409.
-rw-r--r--sapi/cgi/cgi_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index a652c2f3ec..be39a5ec24 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -444,10 +444,7 @@ static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
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)