httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r599589 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
Date Thu, 29 Nov 2007 21:48:18 GMT
Author: rpluem
Date: Thu Nov 29 13:48:18 2007
New Revision: 599589

URL: http://svn.apache.org/viewvc?rev=599589&view=rev
Log:
* Detabify and make spacing in HTML code the same as before r593816. This
  avoids that the autoindex test (t/modules/autoindex) fails. Adjusting
  the autoindex test would cause it to fail with older versions and would
  make it harder to recognize regressions.

Modified:
    httpd/httpd/trunk/modules/generators/mod_autoindex.c

Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=599589&r1=599588&r2=599589&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Thu Nov 29 13:48:18 2007
@@ -162,14 +162,14 @@
 
     if (xhtml) {
         ap_rvputs(r, DOCTYPE_XHTML_1_0T,
-		  "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
-		  "<head>\n  <title>Index of ", title,
-		  "</title>\n", NULL);
+                  "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
+                  " <head>\n  <title>Index of ", title,
+                  "</title>\n", NULL);
     } else {
         ap_rvputs(r, DOCTYPE_HTML_3_2,
-		  "<html>\n <head>\n"
-		  "<title>Index of ", title,
-		  "</title>\n", NULL);
+                  "<html>\n <head>\n"
+                  "  <title>Index of ", title,
+                  "</title>\n", NULL);
     }
 
     if (d->style_sheet != NULL) {



Mime
View raw message