From ee4a64c90ab7a85596123708f28c85f7b439e7ef Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 22 Mar 2002 20:37:04 +0000 Subject: [PATCH] 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 --- modules/http/http_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.40.0