diff options
author | Marcus Boerger <helly@php.net> | 2003-05-29 14:45:03 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-05-29 14:45:03 +0000 |
commit | 1aebe795990a4e0e13b6c1f83f3b4ac2ae385f81 (patch) | |
tree | bed96b89ae70bdd3b1ac9b5b86f4f626d071b209 /sapi | |
parent | a93bff54efc68eb6c6f4e53bfb37b759b93d87c4 (diff) | |
download | php-git-1aebe795990a4e0e13b6c1f83f3b4ac2ae385f81.tar.gz |
Simply print errors
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/cli/php_cli.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 86e661b5a6..89e1ab3e66 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -239,11 +239,7 @@ static void sapi_cli_register_variables(zval *track_vars_array TSRMLS_DC) 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) |