projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Properly pass TSRMLS to php_ob_handler_used
[m6w6/ext-http]
/
http_api.c
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;
}
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) {
php_end_ob_buffers(0 TSRMLS_CC);
}
if ((SUCCESS == sapi_send_headers(TSRMLS_C)) && body) {