[rs-commit] r380 - in /mod_timestamp/trunk: ChangeLog mod_timestamp.c

rs-commit at redwax.eu rs-commit at redwax.eu
Tue May 5 18:00:42 CEST 2020


Author: minfrin at redwax.eu
Date: Tue May  5 18:00:41 2020
New Revision: 380

Log:
Use the AP_DECLARE_MODULE() macro so that per-module
logging works properly.

Modified:
    mod_timestamp/trunk/ChangeLog
    mod_timestamp/trunk/mod_timestamp.c

Modified: mod_timestamp/trunk/ChangeLog
==============================================================================
--- mod_timestamp/trunk/ChangeLog	(original)
+++ mod_timestamp/trunk/ChangeLog	Tue May  5 18:00:41 2020
@@ -1,3 +1,8 @@
+
+Changes with v0.2.3
+
+ *) Use the AP_DECLARE_MODULE() macro so that per-module
+    logging works properly. [Graham Leggett]
 
 Changes with v0.2.2
 

Modified: mod_timestamp/trunk/mod_timestamp.c
==============================================================================
--- mod_timestamp/trunk/mod_timestamp.c	(original)
+++ mod_timestamp/trunk/mod_timestamp.c	Tue May  5 18:00:41 2020
@@ -917,11 +917,13 @@
     ap_hook_handler(timestamp_handler, NULL, NULL, APR_HOOK_MIDDLE);
 }
 
-module AP_MODULE_DECLARE_DATA timestamp_module =
-{ STANDARD20_MODULE_STUFF, create_timestamp_dir_config, /* dir config creater */
-merge_timestamp_dir_config, /* dir merger --- default is to override */
-NULL, /* server config */
-NULL, /* merge server config */
-timestamp_cmds, /* command apr_table_t */
-register_hooks /* register hooks */
+AP_DECLARE_MODULE(timestamp) =
+{
+    STANDARD20_MODULE_STUFF,
+    create_timestamp_dir_config, /* dir config creater */
+    merge_timestamp_dir_config,  /* dir merger --- default is to override */
+    NULL,                        /* server config */
+    NULL,                        /* merge server config */
+    timestamp_cmds,              /* command apr_table_t */
+    register_hooks               /* register hooks */
 };



More information about the rs-commit mailing list