]> granicus.if.org Git - apache/commitdiff
add an extra level of parentheses to say "yes I know what I'm
authorJeff Trawick <trawick@apache.org>
Fri, 22 Mar 2002 20:37:04 +0000 (20:37 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 22 Mar 2002 20:37:04 +0000 (20:37 +0000)
doing with that single '='" and more importantly to quiet a
gcc -Wall warning

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94141 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index 8b5a18ffddb60ec5413105db47537cdbc43eae34..f81efefad3c440015b446e8b0a6295ae3a377e0d 100644 (file)
@@ -1030,7 +1030,7 @@ static void basic_http_header(request_rec *r, apr_bucket_brigade *bb,
 
     /* 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"))) {
         form_header_field(&h, "Server", server);
     }
     else {