You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2009/12/28 00:08:16 UTC

svn commit: r894113 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c

Author: rbowen
Date: Sun Dec 27 23:08:15 2009
New Revision: 894113

URL: http://svn.apache.org/viewvc?rev=894113&view=rev
Log:
The ReadmeName directive was putting its value in the wrong place, and
overwriting the HeaderName value.

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=894113&r1=894112&r2=894113&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Sun Dec 27 23:08:15 2009
@@ -583,7 +583,7 @@
                   (void *)APR_OFFSETOF(autoindex_config_rec, header),
                   DIR_CMD_PERMS, "a filename"),
     AP_INIT_TAKE1("ReadmeName", ap_set_string_slot,
-                  (void *)APR_OFFSETOF(autoindex_config_rec, header),
+                  (void *)APR_OFFSETOF(autoindex_config_rec, readme),
                   DIR_CMD_PERMS, "a filename"),
     AP_INIT_RAW_ARGS("FancyIndexing", ap_set_deprecated, NULL, OR_ALL,
                      "The FancyIndexing directive is no longer supported. "