httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/experimental mod_charset_lite.c
Date Mon, 21 Aug 2000 11:02:33 GMT
trawick     00/08/21 04:02:33

  Modified:    src/modules/experimental mod_charset_lite.c
  Log:
  Update mod_charset_lite for recent changes to ap_bucket_create functions.
  
  Revision  Changes    Path
  1.10      +2 -4      apache-2.0/src/modules/experimental/mod_charset_lite.c
  
  Index: mod_charset_lite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/experimental/mod_charset_lite.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- mod_charset_lite.c	2000/08/20 03:44:20	1.9
  +++ mod_charset_lite.c	2000/08/21 11:02:32	1.10
  @@ -362,11 +362,9 @@
   static int send_downstream(ap_filter_t *f, const char *tmp, apr_ssize_t len)
   {
       ap_bucket_brigade *bb;
  -    apr_ssize_t written;
   
       bb = ap_brigade_create(f->r->pool);
  -    ap_brigade_append_buckets(bb, ap_bucket_transient_create(tmp, len, &written));
  -    ap_assert(written == len); /* You BETTER accept all my data! */
  +    ap_brigade_append_buckets(bb, ap_bucket_create_transient(tmp, len));
       return ap_pass_brigade(f->next, bb);
   }
   
  @@ -375,7 +373,7 @@
       ap_bucket_brigade *bb;
   
       bb = ap_brigade_create(f->r->pool);
  -    ap_brigade_append_buckets(bb, ap_bucket_eos_create());
  +    ap_brigade_append_buckets(bb, ap_bucket_create_eos());
       ap_pass_brigade(f->next, bb);
   }
   
  
  
  

Mime
View raw message