From b31bec2fe90088dd9667ddb00860fd9ef75a45b9 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 26 Sep 2002 11:35:47 +0000 Subject: [PATCH] add some parens to quiet a gcc warning: proxy_http.c:866: warning: suggest parentheses around assignment used as truth value git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96983 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 05881edfa1..115251602d 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -863,7 +863,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, if ((r->status == 401) && (conf->error_override != 0)) { const char *buf; const char *wa = "WWW-Authenticate"; - if (buf = apr_table_get(r->headers_out, wa)) { + if ((buf = apr_table_get(r->headers_out, wa))) { apr_table_set(r->err_headers_out, wa, buf); } else { ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, -- 2.40.0