httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_autoindex.c
Date Sat, 28 Jul 2001 01:33:10 GMT
wrowe       01/07/27 18:33:10

  Modified:    modules/mappers mod_negotiation.c
               modules/generators mod_autoindex.c
  Log:
    Minor quibble, <li> can and should be a balanced tag
  
  Revision  Changes    Path
  1.62      +2 -2      httpd-2.0/modules/mappers/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_negotiation.c,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- mod_negotiation.c	2001/07/28 01:29:41	1.61
  +++ mod_negotiation.c	2001/07/28 01:33:10	1.62
  @@ -2261,7 +2261,7 @@
            * Note that if you change the number of substrings pushed, you also
            * need to change the calculation of max_vlist_array above.
            */
  -        *((const char **) apr_array_push(arr)) = "<li /><a href=\"";
  +        *((const char **) apr_array_push(arr)) = "<li><a href=\"";
           *((const char **) apr_array_push(arr)) = filename;
           *((const char **) apr_array_push(arr)) = "\">";
           *((const char **) apr_array_push(arr)) = filename;
  @@ -2285,7 +2285,7 @@
               *((const char **) apr_array_push(arr)) = ", encoding ";
               *((const char **) apr_array_push(arr)) = variant->content_encoding;
           }
  -        *((const char **) apr_array_push(arr)) = "\n";
  +        *((const char **) apr_array_push(arr)) = "</li>\n";
       }
       *((const char **) apr_array_push(arr)) = "</ul>\n";
   
  
  
  
  1.71      +2 -2      httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- mod_autoindex.c	2001/07/28 01:17:37	1.70
  +++ mod_autoindex.c	2001/07/28 01:33:10	1.71
  @@ -1453,8 +1453,8 @@
   	    }
   	}
   	else {
  -	    ap_rvputs(r, "<li /><a href=\"", anchor, "\"> ", t2,
  -		      "</a>", NULL);
  +	    ap_rvputs(r, "<li><a href=\"", anchor, "\"> ", t2,
  +		         "</a></li>", NULL);
   	}
   	ap_rputc('\n', r);
       }
  
  
  

Mime
View raw message