diff options
author | Sebastian Bergmann <sebastian@php.net> | 2003-03-25 08:07:13 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2003-03-25 08:07:13 +0000 |
commit | 5ca078779a7cde0f3a4a9b0cc8b77abd5177a1d7 (patch) | |
tree | 4aed82d43faf1aa9cf1f7080dcc1e0197542e9d3 /sapi/cli | |
parent | b671380b6b5b6e1f4f235e810afa4199e989d2ba (diff) | |
download | php-git-5ca078779a7cde0f3a4a9b0cc8b77abd5177a1d7.tar.gz |
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
Diffstat (limited to 'sapi/cli')
-rw-r--r-- | sapi/cli/php_cli.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index c053aef435..1fedbe1c35 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -238,7 +238,9 @@ static void sapi_cli_register_variables(zval *track_vars_array TSRMLS_DC) static void sapi_cli_log_message(char *message) { - if (php_header()) { + TSRMLS_FETCH(); + + if (php_header(TSRMLS_C)) { fprintf(stderr, "%s", message); fprintf(stderr, "\n"); } |