diff options
author | Ruediger Pluem <rpluem@apache.org> | 2009-08-12 22:42:48 +0200 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2009-08-12 22:42:48 +0200 |
commit | 02fc923bd0a75680235da99a213ebabfbc22a7d3 (patch) | |
tree | b5bb5f333126c4c61bca3a2922f03a8b707f978b /modules/generators/mod_autoindex.c | |
parent | Work around an empty DBM_LIST (diff) | |
download | apache2-02fc923bd0a75680235da99a213ebabfbc22a7d3.tar.xz apache2-02fc923bd0a75680235da99a213ebabfbc22a7d3.zip |
* Correctly create an empty cell if the description for a file is missing.
PR: 47682
Submitted by: Peter Poeml <poeml suse.de>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@803704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/generators/mod_autoindex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 5eec47917b..ea0e3f99fb 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1738,9 +1738,9 @@ static void output_directories(struct ent **ar, int n, desc_width), NULL); } } - } - else { - ap_rputs("</td><td> ", r); + else { + ap_rputs("</td><td> ", r); + } } ap_rputs("</td></tr>\n", r); } |