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:
Jeff Trawick
2002-09-26 11:35:47 +00:00
parent 75c84ac30d
commit b31bec2fe9

View File

@ -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,