From: Felipe Pena Date: Fri, 10 Jun 2011 22:13:08 +0000 (+0000) Subject: - Fixed output stuff X-Git-Tag: RELEASE_1_7_2~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=b045ad02a109f508cda8971667f75347ff63cfa1;p=m6w6%2Fext-http - Fixed output stuff --- diff --git a/http_api.c b/http_api.c index 2c31d10..06cc43d 100644 --- a/http_api.c +++ b/http_api.c @@ -255,7 +255,8 @@ STATUS _http_exit_ex(int status, char *header, char *body, zend_bool send_header if ( #if defined(PHP_VERSION_ID) && (PHP_VERSION_ID >= 50399) - OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE) && + (php_output_get_status(TSRMLS_C) & PHP_OUTPUT_ACTIVE) && + (php_output_get_status(TSRMLS_C) & PHP_OUTPUT_HANDLER_FLUSHABLE) && #else !OG(ob_lock) && #endif