[rs-commit] r366 - in /mod_cert/trunk: ChangeLog mod_cert.c

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


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

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

Modified:
    mod_cert/trunk/ChangeLog
    mod_cert/trunk/mod_cert.c

Modified: mod_cert/trunk/ChangeLog
==============================================================================
--- mod_cert/trunk/ChangeLog	(original)
+++ mod_cert/trunk/ChangeLog	Tue May  5 00:18:19 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_cert. [Graham Leggett]
 

Modified: mod_cert/trunk/mod_cert.c
==============================================================================
--- mod_cert/trunk/mod_cert.c	(original)
+++ mod_cert/trunk/mod_cert.c	Tue May  5 00:18:19 2020
@@ -559,12 +559,13 @@
     ap_hook_handler(cert_getnextca_handler, NULL, NULL, APR_HOOK_MIDDLE);
 }
 
-module AP_MODULE_DECLARE_DATA cert_module =
-{
-    STANDARD20_MODULE_STUFF, create_cert_dir_config, /* dir config creater */
-    merge_cert_dir_config, /* dir merger --- default is to override */
-    NULL, /* server config */
-    NULL, /* merge server config */
-    cert_cmds, /* command apr_table_t */
-    register_hooks /* register hooks */
+AP_DECLARE_MODULE(cert) =
+{
+    STANDARD20_MODULE_STUFF,
+    create_cert_dir_config, /* dir config creater */
+    merge_cert_dir_config,  /* dir merger --- default is to override */
+    NULL,                   /* server config */
+    NULL,                   /* merge server config */
+    cert_cmds,              /* command apr_table_t */
+    register_hooks          /* register hooks */
 };



More information about the rs-commit mailing list