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_server.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_server.c')
| -rw-r--r-- | sapi/cli/php_cli_server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 77e4d09ba0..89f20f6358 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -614,10 +614,9 @@ static int sapi_cli_server_ub_write(const char *str, uint str_length TSRMLS_DC) return php_cli_server_client_send_through(client, str, str_length); } /* }}} */ -static void sapi_cli_server_flush(void *server_context) /* {{{ */ +static void sapi_cli_server_flush(void *server_context TSRMLS_DC) /* {{{ */ { php_cli_server_client *client = server_context; - TSRMLS_FETCH(); if (!client) { return; |
