diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-08-03 02:22:47 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-08-03 02:22:47 +0000 |
commit | 8b2fc6826cfa9eb38e6fb51a24c5232ee90c6743 (patch) | |
tree | c0629f72d251752c816189f0a2d64d3a3ac38cc2 | |
parent | 52e25595a65b9d50863de2a1f0b112ba4e72c983 (diff) | |
download | httpd-8b2fc6826cfa9eb38e6fb51a24c5232ee90c6743.tar.gz |
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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89901 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/generators/mod_autoindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 467e892ff9..74fffa0c3f 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1162,7 +1162,7 @@ static struct ent *make_autoindex_entry(const apr_finfo_t *dirent, } 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); } |