httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Tue, 15 Apr 2003 16:33:56 GMT
minfrin     2003/04/15 09:33:56

  Modified:    modules/proxy proxy_http.c
  Log:
  Correct some indenting
  
  Revision  Changes    Path
  1.168     +11 -11    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.167
  retrieving revision 1.168
  diff -u -r1.167 -r1.168
  --- proxy_http.c	3 Feb 2003 17:53:10 -0000	1.167
  +++ proxy_http.c	15 Apr 2003 16:33:56 -0000	1.168
  @@ -974,16 +974,16 @@
               }
           }
   
  -      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))) {
  -              apr_table_set(r->err_headers_out, wa, buf);
  -          } else {
  -              ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
  -                           "proxy: origin server sent 401 without w-a header");
  -          }
  -      }
  +        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))) {
  +                apr_table_set(r->err_headers_out, wa, buf);
  +            } else {
  +                ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
  +                             "proxy: origin server sent 401 without w-a header");
  +            }
  +        }
   
           r->sent_bodyct = 1;
           /* Is it an HTTP/0.9 response? If so, send the extra data */
  @@ -1087,7 +1087,7 @@
                */
               int status = r->status;
               r->status = HTTP_OK;
  -          ap_discard_request_body(rp);
  +            ap_discard_request_body(rp);
               return status;
           }
       } else 
  
  
  

Mime
View raw message