]> granicus.if.org Git - apache/commitdiff
Fix a small bug that limited the description's width to the filename's width.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 14 Aug 2001 19:46:21 +0000 (19:46 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 14 Aug 2001 19:46:21 +0000 (19:46 +0000)
Submitted by: Mladen Turk <mladen.turk@mail.inet.hr>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90162 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c

index 407ce555e708892db25366851d835959b00c45bb..f48ae3285c75bc081d65122dd42a743c30f32201 100644 (file)
@@ -1628,7 +1628,7 @@ static void output_directories(struct ent **ar, int n,
                        ap_rvputs(r, "</td><td>", 
                                   terminate_description(d, ar[x]->desc,
                                                        autoindex_opts, 
-                                                        name_width), NULL);
+                                                        desc_width), NULL);
                }
            }
             else
@@ -1700,7 +1700,7 @@ static void output_directories(struct ent **ar, int n,
                if (ar[x]->desc) {
                    ap_rputs(terminate_description(d, ar[x]->desc,
                                                   autoindex_opts,
-                                                   name_width), r);
+                                                   desc_width), r);
                }
            }
            ap_rputc('\n', r);