httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/experimental mod_charset_lite.c
Date Sun, 10 Sep 2000 05:03:00 GMT
fanf        00/09/09 22:02:59

  Modified:    src/modules/experimental mod_charset_lite.c
  Log:
  Don't do non-idempotent things in macro arguments.
  
  Revision  Changes    Path
  1.15      +6 -2      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.14
  retrieving revision 1.15
  diff -u -u -r1.14 -r1.15
  --- mod_charset_lite.c	2000/09/09 22:26:30	1.14
  +++ mod_charset_lite.c	2000/09/10 05:02:59	1.15
  @@ -375,18 +375,22 @@
   static apr_status_t send_downstream(ap_filter_t *f, const char *tmp, apr_ssize_t len)
   {
       ap_bucket_brigade *bb;
  +    ap_bucket *b;
   
       bb = ap_brigade_create(f->r->pool);
  -    AP_BRIGADE_INSERT_TAIL(bb, ap_bucket_create_transient(tmp, len));
  +    b = ap_bucket_create_transient(tmp, len);
  +    AP_BRIGADE_INSERT_TAIL(bb, b);
       return ap_pass_brigade(f->next, bb);
   }
   
   static apr_status_t send_eos(ap_filter_t *f)
   {
       ap_bucket_brigade *bb;
  +    ap_bucket *b;
   
       bb = ap_brigade_create(f->r->pool);
  -    AP_BRIGADE_INSERT_TAIL(bb, ap_bucket_create_eos());
  +    b = ap_bucket_create_eos();
  +    AP_BRIGADE_INSERT_TAIL(bb, b);
       return ap_pass_brigade(f->next, bb);
   }
   
  
  
  

Mime
View raw message