summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2016-11-23 08:21:43 +0100
committerJan Pazdziora <jpazdziora@redhat.com>2016-11-23 08:21:43 +0100
commit8e3255c3d9472cd32e913ae2ea3e6d41207a871b (patch)
tree333e69a5be0af172d76ebffbda2cd911caa6c5ed
parent67d35d1a890ee71491316453a0a00fb2caa85763 (diff)
downloadmod_lookup_identity-8e3255c3d9472cd32e913ae2ea3e6d41207a871b.tar.gz
mod_lookup_identity-8e3255c3d9472cd32e913ae2ea3e6d41207a871b.tar.xz
mod_lookup_identity-8e3255c3d9472cd32e913ae2ea3e6d41207a871b.zip
Put the name of the module to the start of the message on Apache 2.4.
-rw-r--r--mod_lookup_identity.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c
index ef6c226..8a1d26e 100644
--- a/mod_lookup_identity.c
+++ b/mod_lookup_identity.c
@@ -760,7 +760,12 @@ static void register_hooks(apr_pool_t * pool) {
APR_REGISTER_OPTIONAL_FN(lookup_identity_hook);
}
-module AP_MODULE_DECLARE_DATA lookup_identity_module = {
+#ifdef AP_DECLARE_MODULE
+AP_DECLARE_MODULE(lookup_identity)
+#else
+module AP_MODULE_DECLARE_DATA lookup_identity_module
+#endif
+ = {
STANDARD20_MODULE_STUFF,
create_dir_conf, /* Per-directory configuration handler */
merge_dir_conf, /* Merge handler for per-directory configurations */