[rs-commit] r382 - in /mod_pkcs7/trunk: ChangeLog mod_pkcs7.c

rs-commit at redwax.eu rs-commit at redwax.eu
Tue May 5 20:24:23 CEST 2020


Author: minfrin at redwax.eu
Date: Tue May  5 20:24:22 2020
New Revision: 382

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

Modified:
    mod_pkcs7/trunk/ChangeLog
    mod_pkcs7/trunk/mod_pkcs7.c

Modified: mod_pkcs7/trunk/ChangeLog
==============================================================================
--- mod_pkcs7/trunk/ChangeLog	(original)
+++ mod_pkcs7/trunk/ChangeLog	Tue May  5 20:24:22 2020
@@ -1,5 +1,8 @@
 
 Changes with v0.2.0
 
+ *) Use the AP_DECLARE_MODULE() macro so that per-module
+    logging works properly. [Graham Leggett]
+
  *) Initial import of mod_pkcs7. [Graham Leggett]
 

Modified: mod_pkcs7/trunk/mod_pkcs7.c
==============================================================================
--- mod_pkcs7/trunk/mod_pkcs7.c	(original)
+++ mod_pkcs7/trunk/mod_pkcs7.c	Tue May  5 20:24:22 2020
@@ -593,12 +593,13 @@
     ap_hook_handler(pkcs7_getnextca_handler, NULL, NULL, APR_HOOK_MIDDLE);
 }
 
-module AP_MODULE_DECLARE_DATA pkcs7_module =
-{
-    STANDARD20_MODULE_STUFF, create_pkcs7_dir_config, /* dir config creater */
-    merge_pkcs7_dir_config, /* dir merger --- default is to override */
-    NULL, /* server config */
-    NULL, /* merge server config */
-    pkcs7_cmds, /* command apr_table_t */
-    register_hooks /* register hooks */
+AP_DECLARE_MODULE(pkcs7) =
+{
+    STANDARD20_MODULE_STUFF,
+    create_pkcs7_dir_config, /* dir config creater */
+    merge_pkcs7_dir_config,  /* dir merger --- default is to override */
+    NULL,                    /* server config */
+    NULL,                    /* merge server config */
+    pkcs7_cmds,              /* command apr_table_t */
+    register_hooks           /* register hooks */
 };



More information about the rs-commit mailing list