From: Ruediger Pluem Date: Wed, 12 Aug 2009 20:42:48 +0000 (+0000) Subject: * Correctly create an empty cell if the description for a file is missing. X-Git-Tag: 2.3.3~396 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02fc923bd0a75680235da99a213ebabfbc22a7d3;p=apache * Correctly create an empty cell if the description for a file is missing. PR: 47682 Submitted by: Peter Poeml Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@803704 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 6c14df8c42..0bbcd38acc 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.3 + *) mod_autoindex: Correctly create an empty cell if the description + for a file is missing. PR 47682 [Peter Poeml ] + *) ab: Fix broken error messages after resolver or connect() failures. [Jeff Trawick] 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(" ", r); + else { + ap_rputs(" ", r); + } } ap_rputs("\n", r); }