[sr-dev] git:master:b524d25a: textops: kemi search_append() and search_append_body() have two params

Daniel-Constantin Mierla miconda at gmail.com
Sat Nov 25 08:10:54 CET 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-25T08:09:49+01:00

textops: kemi search_append() and search_append_body() have two params

- reported by GH #1333

---

Modified: src/modules/textops/textops.c

---

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

---

diff --git a/src/modules/textops/textops.c b/src/modules/textops/textops.c
index 7d2f71cf21..cafb4520be 100644
--- a/src/modules/textops/textops.c
+++ b/src/modules/textops/textops.c
@@ -3832,12 +3832,12 @@ static sr_kemi_t sr_kemi_textops_exports[] = {
 	},
 	{ str_init("textops"), str_init("search_append"),
 		SR_KEMIP_INT, ki_search_append,
-		{ 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("textops"), str_init("search_append_body"),
 		SR_KEMIP_INT, ki_search_append_body,
-		{ 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("textops"), str_init("is_present_hf"),




More information about the sr-dev mailing list