From: William A. Rowe Jr Date: Tue, 14 Aug 2001 19:46:21 +0000 (+0000) Subject: Fix a small bug that limited the description's width to the filename's width. X-Git-Tag: 2.0.24~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aee905a061722fe772af6ac711052726638772e5;p=apache Fix a small bug that limited the description's width to the filename's width. Submitted by: Mladen Turk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90162 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 407ce555e7..f48ae3285c 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1628,7 +1628,7 @@ static void output_directories(struct ent **ar, int n, ap_rvputs(r, "", 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);