summaryrefslogtreecommitdiffstats
path: root/modules/generators/mod_autoindex.c
diff options
context:
space:
mode:
authorCliff Woolley <jwoolley@apache.org>2002-04-21 20:35:26 +0200
committerCliff Woolley <jwoolley@apache.org>2002-04-21 20:35:26 +0200
commit219a3a1011672420095a6127b32e69ecb4a3275f (patch)
tree3afc3c9b6952de7e19577286a701e15959c282df /modules/generators/mod_autoindex.c
parentUse the day and month names exported from APR, rather than duplicating them (diff)
downloadapache2-219a3a1011672420095a6127b32e69ecb4a3275f.tar.xz
apache2-219a3a1011672420095a6127b32e69ecb4a3275f.zip
Fix mod_autoindex output with SuppressRules turned on.
PR: 8016 Submitted by: David Shane Holden <dpejesh@yahoo.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94739 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators/mod_autoindex.c')
-rw-r--r--modules/generators/mod_autoindex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index 031045ca4e..a2f0cd61e7 100644
--- a/modules/generators/mod_autoindex.c
+++ b/modules/generators/mod_autoindex.c
@@ -1607,6 +1607,9 @@ static void output_directories(struct ent **ar, int n,
if (!(autoindex_opts & SUPPRESS_RULES)) {
ap_rputs("<hr />", r);
}
+ else {
+ ap_rputc('\n', r);
+ }
}
else {
ap_rputs("<ul>", r);