summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@php.net>2002-01-20 18:44:15 +0000
committerDoug MacEachern <dougm@php.net>2002-01-20 18:44:15 +0000
commitcb0a09808ffe3bfbf9384dde33e633aa245ebc62 (patch)
treecebc23cbf9d453fd9bae416ec0546003d8a5e994
parent23f8fe7d478e4b0922f7c595f9b77478e4570151 (diff)
downloadphp-git-cb0a09808ffe3bfbf9384dde33e633aa245ebc62.tar.gz
adjust to ap_get_brigade and input filter api changes
-rw-r--r--sapi/apache2filter/sapi_apache2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c
index 86c763e7e8..dd44ef2f51 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/apache2filter/sapi_apache2.c
@@ -238,7 +238,7 @@ AP_MODULE_DECLARE_DATA module php4_module;
}
static int php_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
- ap_input_mode_t mode, apr_off_t *readbytes)
+ ap_input_mode_t mode, apr_read_type_e block, apr_off_t *readbytes)
{
php_struct *ctx;
long old_index;
@@ -249,14 +249,14 @@ static int php_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
TSRMLS_FETCH();
if (f->r->proxyreq) {
- return ap_get_brigade(f->next, bb, mode, readbytes);
+ return ap_get_brigade(f->next, bb, mode, block, readbytes);
}
ctx = SG(server_context);
INIT_CTX;
- if ((rv = ap_get_brigade(f->next, bb, mode, readbytes)) != APR_SUCCESS) {
+ if ((rv = ap_get_brigade(f->next, bb, mode, block, readbytes)) != APR_SUCCESS) {
return rv;
}