From 7d4b57a8e13bbc04b66651eeae7e6d68406fe8ea Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Sun, 22 May 2011 11:45:01 +0000 Subject: [PATCH] Properly pass TSRMLS to php_ob_handler_used --- http_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2