mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
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
This commit is contained in:
@ -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)) {
|
if ((r->status == 401) && (conf->error_override != 0)) {
|
||||||
const char *buf;
|
const char *buf;
|
||||||
const char *wa = "WWW-Authenticate";
|
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);
|
apr_table_set(r->err_headers_out, wa, buf);
|
||||||
} else {
|
} else {
|
||||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
|
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
|
||||||
|
Reference in New Issue
Block a user