From: David Soria Parra Date: Sun, 22 May 2011 11:45:01 +0000 (+0000) Subject: Properly pass TSRMLS to php_ob_handler_used X-Git-Tag: RELEASE_1_7_2~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7d4b57a8e13bbc04b66651eeae7e6d68406fe8ea;p=m6w6%2Fext-http Properly pass TSRMLS to php_ob_handler_used --- diff --git a/http_api.c b/http_api.c index 183a44c..dbd8ab8 100644 --- a/http_api.c +++ b/http_api.c @@ -253,7 +253,7 @@ STATUS _http_exit_ex(int status, char *header, char *body, zend_bool send_header return FAILURE; } - if (!php_ob_handler_used("zlib output compression") && !php_ob_handler_used("ob_gzhandler") && !OG(ob_lock)) { + if (!php_ob_handler_used("zlib output compression" TSRMLS_CC) && !php_ob_handler_used("ob_gzhandler" TSRMLS_CC) && !OG(ob_lock)) { php_end_ob_buffers(0 TSRMLS_CC); } if ((SUCCESS == sapi_send_headers(TSRMLS_C)) && body) {