diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 09:06:39 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 09:06:39 +0100 |
commit | ed5a8d510f6e4ae865008fe711efbbc5452adf42 (patch) | |
tree | ee91470302effff16eae78220f55c8b16e8a4464 /sapi/cli/php_cli.c | |
parent | f70f89c1b1e0bbd2b2b6940bb0a4e12a2be07770 (diff) | |
download | php-git-ed5a8d510f6e4ae865008fe711efbbc5452adf42.tar.gz |
Pass the TSRMLS parameters to the sapi flush hook, this shaves off a few TSRMLS_FETCH() calls in our various SAPIs
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 2fd3dbed10..cb52cd7072 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -320,7 +320,7 @@ static int sapi_cli_ub_write(const char *str, uint str_length TSRMLS_DC) /* {{{ } /* }}} */ -static void sapi_cli_flush(void *server_context) /* {{{ */ +static void sapi_cli_flush(void *server_context TSRMLS_DC) /* {{{ */ { /* Ignore EBADF here, it's caused by the fact that STDIN/STDOUT/STDERR streams * are/could be closed before fflush() is called. |