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 Sun, 30 Sep 2001 01:37:20 GMT
jerenkrantz    01/09/29 18:37:20

  Modified:    modules/http http_protocol.c
  Log:
  Switch to the corresponding apr_table_* macro rather than doing this
  ourselves.
  
  Revision  Changes    Path
  1.367     +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.366
  retrieving revision 1.367
  diff -u -r1.366 -r1.367
  --- http_protocol.c	2001/09/30 01:17:13	1.366
  +++ http_protocol.c	2001/09/30 01:37:20	1.367
  @@ -1091,7 +1091,7 @@
   		       r->content_encoding);
       }
   
  -    if (r->content_languages && r->content_languages->nelts) {
  +    if (!apr_is_empty_table(r->content_languages)) {
           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