mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Replaced deprecated APR_BRIGADE_FOREACH macro.
This commit is contained in:
parent
8a8041befe
commit
04a16f914c
1 changed files with 2 additions and 2 deletions
|
@ -328,7 +328,7 @@ static int php_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
APR_BRIGADE_FOREACH(b, bb) {
|
for (b = APR_BRIGADE_FIRST(bb); b != APR_BRIGADE_SENTINEL(bb); b = APR_BUCKET_NEXT(b)) {
|
||||||
apr_bucket_read(b, &str, &n, 1);
|
apr_bucket_read(b, &str, &n, 1);
|
||||||
if (n > 0) {
|
if (n > 0) {
|
||||||
old_index = ctx->post_len;
|
old_index = ctx->post_len;
|
||||||
|
@ -415,7 +415,7 @@ static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
|
||||||
return ap_pass_brigade(f->next, bb);
|
return ap_pass_brigade(f->next, bb);
|
||||||
}
|
}
|
||||||
|
|
||||||
APR_BRIGADE_FOREACH(b, bb) {
|
for (b = APR_BRIGADE_FIRST(bb); b != APR_BRIGADE_SENTINEL(bb); b = APR_BUCKET_NEXT(b)) {
|
||||||
zend_file_handle zfd;
|
zend_file_handle zfd;
|
||||||
|
|
||||||
if (!ctx->request_processed && APR_BUCKET_IS_FILE(b)) {
|
if (!ctx->request_processed && APR_BUCKET_IS_FILE(b)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue