Module: kamailio
Branch: master
Commit: 79eae59c4e104dab0b195bfbeb01b58f9d144092
URL:
https://github.com/kamailio/kamailio/commit/79eae59c4e104dab0b195bfbeb01b58…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-24T11:36:53+01:00
tls: renamed the module destroy function
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/79eae59c4e104dab0b195bfbeb01b58…
Patch:
https://github.com/kamailio/kamailio/commit/79eae59c4e104dab0b195bfbeb01b58…
---
diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index bef803230c..e41c7d7d0f 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -78,7 +78,7 @@
*/
static int mod_init(void);
static int mod_child(int rank);
-static void destroy(void);
+static void mod_destroy(void);
static int w_is_peer_verified(struct sip_msg* msg, char* p1, char* p2);
static int w_tls_set_connect_server_id(sip_msg_t* msg, char* psrvid, char* p2);
@@ -275,7 +275,7 @@ struct module_exports exports = {
0, /* response handling function */
mod_init, /* module init function */
mod_child, /* child initi function */
- destroy /* destroy function */
+ mod_destroy /* destroy function */
};
@@ -460,7 +460,7 @@ static int mod_child(int rank)
}
-static void destroy(void)
+static void mod_destroy(void)
{
/* tls is destroyed via the registered destroy_tls_h callback
* => nothing to do here */