You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2010/02/04 05:19:14 UTC
svn commit: r906357 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
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) {