[sr-dev] git:master:c921556e: textopsx: 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: c921556e77b787d2462d251e7f1fa928bd22467a
URL: https://github.com/kamailio/kamailio/commit/c921556e77b787d2462d251e7f1fa928bd22467a

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

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

---

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

---

diff --git a/src/modules/textopsx/textopsx.c b/src/modules/textopsx/textopsx.c
index d013308473..a6d7abc65e 100644
--- a/src/modules/textopsx/textopsx.c
+++ b/src/modules/textopsx/textopsx.c
@@ -2321,7 +2321,7 @@ static sr_kemi_t sr_kemi_textopsx_exports[] = {
 	},
 	{ str_init("textopsx"), str_init("remove_hf_value2"),
 		SR_KEMIP_INT, ki_remove_hf_value2,
-		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("textopsx"), str_init("include_hf_value"),




More information about the sr-dev mailing list