[sr-dev] git:master:c94207bf: textops: fixed the kemi export for regex_substring()

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 3 08:24:42 CET 2018


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-12-03T08:23:35+01:00

textops: fixed the kemi export for regex_substring()

---

Modified: src/modules/textops/textops.c

---

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

---

diff --git a/src/modules/textops/textops.c b/src/modules/textops/textops.c
index c7c110beb1..3db4626232 100644
--- a/src/modules/textops/textops.c
+++ b/src/modules/textops/textops.c
@@ -4856,7 +4856,7 @@ static sr_kemi_t sr_kemi_textops_exports[] = {
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("textops"), str_init("regex_substring"),
-		SR_KEMIP_INT, regex_substring_f,
+		SR_KEMIP_INT, ki_regex_substring,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_INT,
 			SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_NONE }
 	},




More information about the sr-dev mailing list