diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2015-09-30 10:35:35 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2015-09-30 10:35:35 +0200 |
commit | 68131d85a4bd75d6f727b55f7ef5d185fa5938e6 (patch) | |
tree | 40095a56ba4ec865ae8558af9aaf0fb697bba3cc /modules/generators/mod_autoindex.c | |
parent | Synch 2.4.x and trunk. (diff) | |
download | apache2-68131d85a4bd75d6f727b55f7ef5d185fa5938e6.tar.xz apache2-68131d85a4bd75d6f727b55f7ef5d185fa5938e6.zip |
Fix some style issues on files that can easily be synch'ed with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators/mod_autoindex.c')
-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 8f8cc8e2e6..a9e962315c 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1336,7 +1336,7 @@ static struct ent *make_autoindex_entry(const apr_finfo_t *dirent, return (NULL); } - if((autoindex_opts & SHOW_FORBIDDEN) + if ((autoindex_opts & SHOW_FORBIDDEN) && (rr->status == HTTP_UNAUTHORIZED || rr->status == HTTP_FORBIDDEN)) { show_forbidden = 1; } |