httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r906357 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
Date Thu, 04 Feb 2010 04:19:14 GMT
Author: wrowe
Date: Thu Feb  4 04:19:13 2010
New Revision: 906357

URL: http://svn.apache.org/viewvc?rev=906357&view=rev
Log:
Folks, this is not C++.  Please, pay attention to your patches
and don't leave trunk deliberately broken.

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=906357&r1=906356&r2=906357&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Thu Feb  4 04:19:13 2010
@@ -992,6 +992,7 @@
 static void emit_head(request_rec *r, char *header_fname, int suppress_amble,
                       int emit_xhtml, char *title)
 {
+    autoindex_config_rec *d;
     apr_table_t *hdrs = r->headers_in;
     apr_file_t *f = NULL;
     request_rec *rr = NULL;
@@ -1095,7 +1096,6 @@
         emit_preamble(r, emit_xhtml, title);
     }
     
-    autoindex_config_rec *d;
     d = (autoindex_config_rec *) ap_get_module_config(r->per_dir_config, &autoindex_module);
     
     if (emit_H1) {



Mime
View raw message