[sr-dev] git:master:ac0ff86a: kex: updating the exported expected parameters to match the functions

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 27 08:29:20 CET 2017


Module: kamailio
Branch: master
Commit: ac0ff86a0a7c29782903a385e7dda7be298a678f
URL: https://github.com/kamailio/kamailio/commit/ac0ff86a0a7c29782903a385e7dda7be298a678f

Author: Samuel <samuel_is_kewl at hotmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-27T08:29:08+01:00

kex: updating the exported expected parameters to match the functions

- Mismatch between export and function declaration with regards to the quantity of parameters

---

Modified: src/modules/kex/kex_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/ac0ff86a0a7c29782903a385e7dda7be298a678f.diff
Patch: https://github.com/kamailio/kamailio/commit/ac0ff86a0a7c29782903a385e7dda7be298a678f.patch

---

diff --git a/src/modules/kex/kex_mod.c b/src/modules/kex/kex_mod.c
index f58cf189b6..1f738c11a6 100644
--- a/src/modules/kex/kex_mod.c
+++ b/src/modules/kex/kex_mod.c
@@ -264,7 +264,7 @@ static sr_kemi_t sr_kemi_kex_exports[] = {
 	},
 	{ str_init("kex"), str_init("resetdebug"),
 		SR_KEMIP_INT, ki_kex_resetdebug,
-		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
+		{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 




More information about the sr-dev mailing list