cvs: php4 /sapi/cli php_cli.c

From: Date: Thu, 29 May 2003 14:45:03 +0000
Subject: cvs: php4 /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21318@lists.php.net to get a copy of this message
helly Thu May 29 10:45:03 2003 EDT Modified files: /php4/sapi/cli php_cli.c Log: Simply print errors Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.90 php4/sapi/cli/php_cli.c:1.91 --- php4/sapi/cli/php_cli.c:1.90 Mon May 26 14:37:48 2003 +++ php4/sapi/cli/php_cli.c Thu May 29 10:45:03 2003 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_cli.c,v 1.90 2003/05/26 18:37:48 derick Exp $ */ +/* $Id: php_cli.c,v 1.91 2003/05/29 14:45:03 helly Exp $ */ #include "php.h" #include "php_globals.h" @@ -239,11 +239,7 @@ static void sapi_cli_log_message(char *message) { - TSRMLS_FETCH(); - - if (php_header(TSRMLS_C)) { - fprintf(stderr, "%s\n", message); - } + fprintf(stderr, "%s\n", message); } static int sapi_cli_deactivate(TSRMLS_D)

« previous php.cvs (#21318) next »