apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr-util/buckets apr_buckets_eos.c apr_buckets_flush.c
Date Fri, 08 Mar 2002 22:45:32 GMT
jwoolley    02/03/08 14:45:32

  Modified:    buckets  apr_buckets_eos.c apr_buckets_flush.c
  Log:
  It just occurred to me that these two functions are useless -- it's already
  implemented elsewhere.
  
  Revision  Changes    Path
  1.31      +1 -7      apr-util/buckets/apr_buckets_eos.c
  
  Index: apr_buckets_eos.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_eos.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -d -u -r1.30 -r1.31
  --- apr_buckets_eos.c	22 Sep 2001 22:36:07 -0000	1.30
  +++ apr_buckets_eos.c	8 Mar 2002 22:45:32 -0000	1.31
  @@ -63,12 +63,6 @@
       return APR_SUCCESS;
   }
   
  -static apr_status_t eos_copy(apr_bucket *e, apr_bucket **c)
  -{
  -    *c = apr_bucket_eos_create();
  -    return APR_SUCCESS;
  -}
  -
   APU_DECLARE(apr_bucket *) apr_bucket_eos_make(apr_bucket *b)
   {
       b->length    = 0;
  @@ -94,5 +88,5 @@
       eos_read,
       apr_bucket_setaside_noop,
       apr_bucket_split_notimpl,
  -    eos_copy
  +    apr_bucket_simple_copy
   };
  
  
  
  1.23      +1 -7      apr-util/buckets/apr_buckets_flush.c
  
  Index: apr_buckets_flush.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_flush.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -d -u -r1.22 -r1.23
  --- apr_buckets_flush.c	22 Sep 2001 22:36:07 -0000	1.22
  +++ apr_buckets_flush.c	8 Mar 2002 22:45:32 -0000	1.23
  @@ -63,12 +63,6 @@
       return APR_SUCCESS;
   }
   
  -static apr_status_t flush_copy(apr_bucket *e, apr_bucket **c)
  -{
  -    *c = apr_bucket_flush_create();
  -    return APR_SUCCESS;
  -}
  -
   APU_DECLARE(apr_bucket *) apr_bucket_flush_make(apr_bucket *b)
   {
       b->length    = 0;
  @@ -94,5 +88,5 @@
       flush_read,
       apr_bucket_setaside_noop,
       apr_bucket_split_notimpl,
  -    flush_copy
  +    apr_bucket_simple_copy
   };
  
  
  

Mime
View raw message