httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Thu, 02 Aug 2001 19:37:46 GMT
wrowe       01/08/02 12:37:46

  Modified:    modules/http http_protocol.c
  Log:
    Make this legible.  Points out a huge headache in the new conftree pools
    mechanism, that we aren't joined properly, so we hit the 'not ancestor'
    abend here.
  
  Revision  Changes    Path
  1.341     +2 -2      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.340
  retrieving revision 1.341
  diff -u -r1.340 -r1.341
  --- http_protocol.c	2001/08/02 04:25:20	1.340
  +++ http_protocol.c	2001/08/02 19:37:46	1.341
  @@ -1230,9 +1230,9 @@
       }
   
       if (r->content_languages && r->content_languages->nelts) {
  +        char **languages = (char **)(r->content_languages->elts);
           for (i = 0; i < r->content_languages->nelts; ++i) {
  -            apr_table_mergen(r->headers_out, "Content-Language",
  -			     ((char **) (r->content_languages->elts))[i]);
  +            apr_table_mergen(r->headers_out, "Content-Language", languages[i]);
           }
       }
       else if (r->content_language) {
  
  
  

Mime
View raw message