mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Accomodate Apache HTTPD 2.0 API change
This commit is contained in:
parent
a8bc329291
commit
ab1df8dfb9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue