httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main util_filter.c
Date Fri, 13 Oct 2000 00:02:06 GMT
rbb         00/10/12 17:02:06

  Modified:    src/include util_filter.h
               src/main util_filter.c
  Log:
  Fix a typo from earlier today.  The filters accept apr_ssize_t's, so the
  get_brigade code should also use apr_ssize_t.
  Submitted by:	Greg Stein
  
  Revision  Changes    Path
  1.26      +2 -2      apache-2.0/src/include/util_filter.h
  
  Index: util_filter.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/util_filter.h,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- util_filter.h	2000/10/12 16:35:38	1.25
  +++ util_filter.h	2000/10/13 00:02:06	1.26
  @@ -253,9 +253,9 @@
    *               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
  
  
  
  1.29      +1 -1      apache-2.0/src/main/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util_filter.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- util_filter.c	2000/10/12 16:35:39	1.28
  +++ util_filter.c	2000/10/13 00:02:06	1.29
  @@ -196,7 +196,7 @@
    * 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);
  
  
  

Mime
View raw message