From: Jeff Trawick Date: Fri, 22 Mar 2002 20:37:04 +0000 (+0000) Subject: add an extra level of parentheses to say "yes I know what I'm X-Git-Tag: 2.0.34~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee4a64c90ab7a85596123708f28c85f7b439e7ef;p=apache add an extra level of parentheses to say "yes I know what I'm 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 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 8b5a18ffdd..f81efefad3 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -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 {