summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2010-02-04 05:19:13 +0100
committerWilliam A. Rowe Jr <wrowe@apache.org>2010-02-04 05:19:13 +0100
commitaba233e29df0fedbebcd5445ee4547e0a39b0fad (patch)
tree468acab9aa7756d2e58d223b5e9e036c59a2b39b /modules
parentAdd mod_serf.dsp at last, based on the patch available in; (diff)
downloadapache2-aba233e29df0fedbebcd5445ee4547e0a39b0fad.tar.xz
apache2-aba233e29df0fedbebcd5445ee4547e0a39b0fad.zip
Folks, this is not C++. Please, pay attention to your patches
and don't leave trunk deliberately broken. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/generators/mod_autoindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index 30d1ce7926..095b0ca81c 100644
--- a/modules/generators/mod_autoindex.c
+++ b/modules/generators/mod_autoindex.c
@@ -992,6 +992,7 @@ static void do_emit_plain(request_rec *r, apr_file_t *f)
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 @@ static void emit_head(request_rec *r, char *header_fname, int suppress_amble,
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) {