You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@hyperreal.org on 1997/10/16 20:55:52 UTC

cvs commit: apachen/src/modules/standard mod_autoindex.c

jim         97/10/16 11:55:52

  Modified:    src/modules/standard mod_autoindex.c
  Log:
  Another Description Column Fix for mod_autoindex by Martin
  
  Revision  Changes    Path
  1.51      +1 -1      apachen/src/modules/standard/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_autoindex.c,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- mod_autoindex.c	1997/10/07 05:27:23	1.50
  +++ mod_autoindex.c	1997/10/16 18:55:51	1.51
  @@ -706,7 +706,7 @@
       if (autoindex_opts & SUPPRESS_SIZE)
   	maxsize += 7;
   
  -    for (x = 0; desc[x] && maxsize; x++) {
  +    for (x = 0; desc[x] && (maxsize > 0 || desc[x]=='<'); x++) {
   	if (desc[x] == '<') {
   	    while (desc[x] != '>') {
   		if (!desc[x]) {