From: William A. Rowe Jr Date: Thu, 4 Feb 2010 04:19:13 +0000 (+0000) Subject: Folks, this is not C++. Please, pay attention to your patches X-Git-Tag: 2.3.6~520 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aba233e29df0fedbebcd5445ee4547e0a39b0fad;p=apache 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 --- 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) {