Properly pass TSRMLS to php_ob_handler_used
authorDavid Soria Parra <dsp@php.net>
Sun, 22 May 2011 11:45:01 +0000 (11:45 +0000)
committerDavid Soria Parra <dsp@php.net>
Sun, 22 May 2011 11:45:01 +0000 (11:45 +0000)
http_api.c

index 183a44c01f7683eba53998504f02f6244cc82a30..dbd8ab8452fc888ae1b1b9e3874f323884136f5f 100644 (file)
@@ -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) {