httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_core.c
Date Sun, 30 Sep 2001 04:17:16 GMT
jerenkrantz    01/09/29 21:17:16

  Modified:    modules/http http_core.c
  Log:
  Remove unnecessary initialization and add a comment about chunk_hdr's
  scope.
  
  Revision  Changes    Path
  1.285     +4 -1      httpd-2.0/modules/http/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_core.c,v
  retrieving revision 1.284
  retrieving revision 1.285
  diff -u -r1.284 -r1.285
  --- http_core.c	2001/09/29 08:48:58	1.284
  +++ http_core.c	2001/09/30 04:17:16	1.285
  @@ -137,7 +137,7 @@
   {
   #define ASCII_CRLF  "\015\012"
   #define ASCII_ZERO  "\060"
  -    apr_bucket_brigade *more = NULL;
  +    apr_bucket_brigade *more;
       apr_bucket *e;
       apr_status_t rv;
   
  @@ -145,6 +145,9 @@
   	apr_off_t bytes = 0;
           apr_bucket *eos = NULL;
           apr_bucket *flush = NULL;
  +        /* XXX: chunk_hdr must remain at this scope since it is used in a 
  +         *      transient bucket.
  +         */
           char chunk_hdr[20]; /* enough space for the snprintf below */
   
   	APR_BRIGADE_FOREACH(e, b) {
  
  
  

Mime
View raw message