Skip to content

Commit

Permalink
MFH: Accomodate Apache HTTPD 2.0 API change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Schumann committed Apr 24, 2001
1 parent 3deb778 commit df6bb0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sapi/apache2filter/sapi_apache2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

Expand Down

0 comments on commit df6bb0f

Please sign in to comment.