[sr-dev] git:master:171b7ada: sipcapture: updating the exported expected parameters to match the functions

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


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

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

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

---

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

---

diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c
index fbb697d18b..171e1d035c 100644
--- a/src/modules/sipcapture/sipcapture.c
+++ b/src/modules/sipcapture/sipcapture.c
@@ -3114,7 +3114,7 @@ static sr_kemi_t sr_kemi_sipcapture_exports[] = {
 	},
 	{ str_init("sipcapture"), str_init("sip_capture_mode"),
 		SR_KEMIP_INT, ki_sip_capture_mode,
-		{ SR_KEMIP_NONE, SR_KEMIP_STR, SR_KEMIP_NONE,
+		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("sipcapture"), str_init("report_capture"),




More information about the sr-dev mailing list