[rs-commit] r369 - in /mod_csr/trunk: ChangeLog mod_csr.c

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


Author: minfrin at redwax.eu
Date: Tue May  5 00:42:02 2020
New Revision: 369

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

Modified:
    mod_csr/trunk/ChangeLog
    mod_csr/trunk/mod_csr.c

Modified: mod_csr/trunk/ChangeLog
==============================================================================
--- mod_csr/trunk/ChangeLog	(original)
+++ mod_csr/trunk/ChangeLog	Tue May  5 00:42:02 2020
@@ -1,5 +1,8 @@
 
 Changes with v0.2.4
+
+ *) Use the AP_DECLARE_MODULE() macro so that per-module
+    logging works properly. [Graham Leggett]
 
  *) Add a temporary signature to the certificate sign request that is
     passed for signing. [Graham Leggett]

Modified: mod_csr/trunk/mod_csr.c
==============================================================================
--- mod_csr/trunk/mod_csr.c	(original)
+++ mod_csr/trunk/mod_csr.c	Tue May  5 00:42:02 2020
@@ -1145,12 +1145,13 @@
 #endif
 }
 
-module AP_MODULE_DECLARE_DATA csr_module =
-{
-    STANDARD20_MODULE_STUFF, create_csr_dir_config, /* dir config creater */
-    merge_csr_dir_config, /* dir merger --- default is to override */
-    NULL, /* server config */
-    NULL, /* merge server config */
-    csr_cmds, /* command apr_table_t */
-    register_hooks /* register hooks */
+AP_DECLARE_MODULE(csr) =
+{
+    STANDARD20_MODULE_STUFF,
+    create_csr_dir_config, /* dir config creater */
+    merge_csr_dir_config,  /* dir merger --- default is to override */
+    NULL,                  /* server config */
+    NULL,                  /* merge server config */
+    csr_cmds,              /* command apr_table_t */
+    register_hooks         /* register hooks */
 };



More information about the rs-commit mailing list