]> granicus.if.org Git - php/commitdiff
Simply print errors
authorMarcus Boerger <helly@php.net>
Thu, 29 May 2003 14:45:03 +0000 (14:45 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 29 May 2003 14:45:03 +0000 (14:45 +0000)
sapi/cli/php_cli.c

index 86e661b5a6d366725628ebca005935160dba6a39..89e1ab3e66cf48fd0247809a860526f5abf53a1b 100644 (file)
@@ -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)