]> granicus.if.org Git - php/commitdiff
Accomodate Apache HTTPD 2.0 API change
authorSascha Schumann <sas@php.net>
Tue, 24 Apr 2001 12:57:34 +0000 (12:57 +0000)
committerSascha Schumann <sas@php.net>
Tue, 24 Apr 2001 12:57:34 +0000 (12:57 +0000)
sapi/apache2filter/sapi_apache2.c

index b915f06e9af7751977d95da6ed3ebf3dad357608..27aa660852295eae9af5938f2a962b4048c276fd 100644 (file)
@@ -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;
        }