httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Thu, 26 Sep 2002 11:35:47 GMT
trawick     2002/09/26 04:35:47

  Modified:    modules/proxy proxy_http.c
  Log:
  add some parens to quiet a gcc warning:
  
  proxy_http.c:866: warning: suggest parentheses around assignment used as truth value
  
  Revision  Changes    Path
  1.162     +1 -1      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.161
  retrieving revision 1.162
  diff -u -r1.161 -r1.162
  --- proxy_http.c	26 Sep 2002 08:55:28 -0000	1.161
  +++ proxy_http.c	26 Sep 2002 11:35:47 -0000	1.162
  @@ -863,7 +863,7 @@
         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,
  
  
  

Mime
View raw message