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_protocol.c
Date Sat, 08 Jun 2002 04:36:05 GMT
jerenkrantz    2002/06/07 21:36:05

  Modified:    modules/http http_protocol.c
  Log:
  Tighten this variable's scope to only where it is needed.
  
  Revision  Changes    Path
  1.434     +1 -1      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.433
  retrieving revision 1.434
  diff -u -r1.433 -r1.434
  --- http_protocol.c	4 Jun 2002 18:50:13 -0000	1.433
  +++ http_protocol.c	8 Jun 2002 04:36:05 -0000	1.434
  @@ -1442,7 +1442,6 @@
   AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f,
                                                              apr_bucket_brigade *b)
   {
  -    int i;
       request_rec *r = f->r;
       conn_rec *c = r->connection;
       const char *clheader;
  @@ -1537,6 +1536,7 @@
       }
   
       if (!apr_is_empty_table(r->content_languages)) {
  +        int i;
           char **languages = (char **)(r->content_languages->elts);
           for (i = 0; i < r->content_languages->nelts; ++i) {
               apr_table_mergen(r->headers_out, "Content-Language", languages[i]);
  
  
  

Mime
View raw message