]> granicus.if.org Git - apache/commitdiff
Fix a typo from earlier today. The filters accept apr_ssize_t's, so the
authorRyan Bloom <rbb@apache.org>
Fri, 13 Oct 2000 00:02:06 +0000 (00:02 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 13 Oct 2000 00:02:06 +0000 (00:02 +0000)
get_brigade code should also use apr_ssize_t.
Submitted by: Greg Stein

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86572 13f79535-47bb-0310-9956-ffa450edef68

include/util_filter.h
server/util_filter.c

index 927880374aadd1b68f2fc00716425ebd220de1f2..a1d03c38796f9361684eaad83020f10390e5a0f7 100644 (file)
@@ -253,9 +253,9 @@ struct ap_filter_t {
  *               AP_GET_ANY_AMOUNT (-1) tells a filter to return everything
  *               it has.
  * @return apr_status_t value
- * @deffunc apr_status_t ap_get_brigade(ap_filter_t *filter, ap_bucket_brigade *bucket, int length)
+ * @deffunc apr_status_t ap_get_brigade(ap_filter_t *filter, ap_bucket_brigade *bucket, apr_ssize_t length)
  */
-API_EXPORT(apr_status_t) ap_get_brigade(ap_filter_t *filter, ap_bucket_brigade *bucket, int length);
+API_EXPORT(apr_status_t) ap_get_brigade(ap_filter_t *filter, ap_bucket_brigade *bucket, apr_ssize_t length);
 
 /**
  * Pass the current bucket brigade down to the next filter on the filter
index 9be310b5ccfe6ad80347f39c457fe424842570f5..613881d408d349c17af9b809c93400448060353f 100644 (file)
@@ -196,7 +196,7 @@ API_EXPORT(void) ap_add_output_filter(const char *name, void *ctx,
  * brigade especially for that use.
  */
 API_EXPORT(apr_status_t) ap_get_brigade(ap_filter_t *next, 
-                                        ap_bucket_brigade *bb, int length)
+                                      ap_bucket_brigade *bb, apr_ssize_t length)
 {
     if (next) {
         return next->frec->filter_func.in_func(next, bb, length);