httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_autoindex.c
Date Fri, 03 Aug 2001 02:22:47 GMT
wrowe       01/08/02 19:22:47

  Modified:    modules/generators mod_autoindex.c
  Log:
    That's enough for tonight ... gheesh.  Allow 2xx + OK (0) results from
    the subrequest to go out to the client.  This doesn't address (..)
    anomilies, which I will address in the a.m.
  
  Revision  Changes    Path
  1.77      +1 -1      httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- mod_autoindex.c	2001/08/03 02:17:44	1.76
  +++ mod_autoindex.c	2001/08/03 02:22:47	1.77
  @@ -1162,7 +1162,7 @@
       }
   
       if ((rr->finfo.filetype != APR_DIR && rr->finfo.filetype != APR_REG)
  -        || (rr->status != OK && ap_is_HTTP_SUCCESS(rr->status))) {
  +        || !(rr->status == OK || ap_is_HTTP_SUCCESS(rr->status))) {
           ap_destroy_sub_req(rr);
           return (NULL);
       }
  
  
  

Mime
View raw message