summaryrefslogtreecommitdiff
path: root/sapi/apache2filter
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-04-24 12:57:34 +0000
committerSascha Schumann <sas@php.net>2001-04-24 12:57:34 +0000
commitab1df8dfb93ffdeb78f68f1810c8733a174559d1 (patch)
tree93770e5439c41265de8735d4cab2deec5dc095b8 /sapi/apache2filter
parenta8bc32929169a94e3ec1b3b51974b2d5a1373e20 (diff)
downloadphp-git-ab1df8dfb93ffdeb78f68f1810c8733a174559d1.tar.gz
Accomodate Apache HTTPD 2.0 API change
Diffstat (limited to 'sapi/apache2filter')
-rw-r--r--sapi/apache2filter/sapi_apache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c
index b915f06e9a..27aa660852 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/apache2filter/sapi_apache2.c
@@ -231,7 +231,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)
+ ap_input_mode_t mode, apr_size_t *readbytes)
{
php_struct *ctx;
long old_index;
@@ -245,7 +245,7 @@ static int php_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
INIT_CTX;
- if ((rv = ap_get_brigade(f->next, bb, mode)) != APR_SUCCESS) {
+ if ((rv = ap_get_brigade(f->next, bb, mode, readbytes)) != APR_SUCCESS) {
return rv;
}