cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Sascha Schumann | Date: | Tue, 24 Apr 2001 12:57:34 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5238@lists.php.net to get a copy of this message | ||
sas Tue Apr 24 05:57:34 2001 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
Accomodate Apache HTTPD 2.0 API change
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.28 php4/sapi/apache2filter/sapi_apache2.c:1.29
--- php4/sapi/apache2filter/sapi_apache2.c:1.28 Wed Feb 28 06:19:15 2001
+++ php4/sapi/apache2filter/sapi_apache2.c Tue Apr 24 05:57:34 2001
@@ -231,7 +231,7 @@
}
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 @@
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;
}