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:
930e15c
)
Properly pass TSRMLS to php_ob_handler_used
author
David Soria Parra
<dsp@php.net>
Sun, 22 May 2011 11:45:01 +0000
(11:45 +0000)
committer
David Soria Parra
<dsp@php.net>
Sun, 22 May 2011 11:45:01 +0000
(11:45 +0000)
http_api.c
patch
|
blob
|
history
diff --git
a/http_api.c
b/http_api.c
index 183a44c01f7683eba53998504f02f6244cc82a30..dbd8ab8452fc888ae1b1b9e3874f323884136f5f 100644
(file)
--- 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) {