httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Wed, 27 Mar 2002 13:05:14 GMT
trawick     02/03/27 05:05:14

  Modified:    modules/http http_protocol.c
  Log:
  style improvement for checking whether the result of an
  assignment was NULL
  
  Submitted by:	Sander Striker
  
  Revision  Changes    Path
  1.405     +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.404
  retrieving revision 1.405
  diff -u -r1.404 -r1.405
  --- http_protocol.c	27 Mar 2002 00:28:07 -0000	1.404
  +++ http_protocol.c	27 Mar 2002 13:05:14 -0000	1.405
  @@ -1035,7 +1035,7 @@
   
       /* keep a previously set server header (possibly from proxy), otherwise
        * generate a new server header */
  -    if ((server = apr_table_get(r->headers_out, "Server"))) {
  +    if ((server = apr_table_get(r->headers_out, "Server")) != NULL) {
           form_header_field(&h, "Server", server);
       }
       else {
  
  
  

Mime
View raw message