You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jw...@apache.org on 2002/03/08 23:45:32 UTC

cvs commit: apr-util/buckets apr_buckets_eos.c apr_buckets_flush.c

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
   };