From: Jeff Trawick Date: Thu, 26 Sep 2002 11:35:47 +0000 (+0000) Subject: add some parens to quiet a gcc warning: X-Git-Tag: WROWE_2_0_43_PRE1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b31bec2fe90088dd9667ddb00860fd9ef75a45b9;p=apache 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 --- 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,