]> granicus.if.org Git - apache/commitdiff
* Correctly create an empty cell if the description for a file is missing.
authorRuediger Pluem <rpluem@apache.org>
Wed, 12 Aug 2009 20:42:48 +0000 (20:42 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 12 Aug 2009 20:42:48 +0000 (20:42 +0000)
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

CHANGES
modules/generators/mod_autoindex.c

diff --git a/CHANGES b/CHANGES
index 6c14df8c42f004183a8b0b34bc5c7154e1f7a6d1..0bbcd38acc4bb9747b8fc1f201f32b638cd9b370 100644 (file)
--- 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 <poeml suse.de>]
+
   *) ab: Fix broken error messages after resolver or connect() failures.
      [Jeff Trawick]
 
index 5eec47917b39f2f59261be68a229fac3596c480c..ea0e3f99fb01b446d18bf1868eb61fdb2da5a5d8 100644 (file)
@@ -1738,9 +1738,9 @@ static void output_directories(struct ent **ar, int n,
                                                         desc_width), NULL);
                     }
                 }
-            }
-            else {
-                ap_rputs("</td><td>&nbsp;", r);
+                else {
+                    ap_rputs("</td><td>&nbsp;", r);
+                }
             }
             ap_rputs("</td></tr>\n", r);
         }