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

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


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

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

lcr: 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/lcr/lcr_mod.c

---

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

---

diff --git a/src/modules/lcr/lcr_mod.c b/src/modules/lcr/lcr_mod.c
index 2689e10b84..eecab748f6 100644
--- a/src/modules/lcr/lcr_mod.c
+++ b/src/modules/lcr/lcr_mod.c
@@ -3374,7 +3374,7 @@ static sr_kemi_t sr_kemi_lcr_exports[] = {
 	},
 	{ str_init("lcr"), str_init("load_gws_furi"),
 		SR_KEMIP_INT, ki_load_gws_furi,
-		{ SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_STR,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("lcr"), str_init("next_gw"),




More information about the sr-dev mailing list