diff options
| author | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-18 13:34:40 +0000 |
|---|---|---|
| committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-18 13:34:40 +0000 |
| commit | 34b631f6799a9fc81980f3027865b6258452df43 (patch) | |
| tree | 8c4a81845bd415e22417514c80787bfaadc42bdc /sapi/apache2filter | |
| parent | 65d031d3da891ce12ddf41ffe676f16d0ac3db4e (diff) | |
| download | php-git-34b631f6799a9fc81980f3027865b6258452df43.tar.gz | |
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 2a7d5b7dd0..5aa798c53d 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -282,10 +282,9 @@ php_apache_sapi_flush(void *server_context) } } -static void php_apache_sapi_log_message(char *msg) +static void php_apache_sapi_log_message(char *msg TSRMLS_DC) { php_struct *ctx; - TSRMLS_FETCH(); ctx = SG(server_context); |
