projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
7d35618
)
- Fixed output stuff
author
Felipe Pena
<felipe@php.net>
Fri, 10 Jun 2011 22:13:08 +0000
(22:13 +0000)
committer
Felipe Pena
<felipe@php.net>
Fri, 10 Jun 2011 22:13:08 +0000
(22:13 +0000)
http_api.c
patch
|
blob
|
history
diff --git
a/http_api.c
b/http_api.c
index 2c31d10bde65f1b6a7bdea2eea5dc79c568d0386..06cc43d6bfe63c0a3870bdf4815c5e58db75fd1c 100644
(file)
--- 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