[sr-dev] git:master:73842a6f: textops: proper parameter no for fixup_regex_substring()

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 24 14:50:45 CET 2018


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-12-24T14:01:15+01:00

textops: proper parameter no for fixup_regex_substring()

---

Modified: src/modules/textops/textops.c

---

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

---

diff --git a/src/modules/textops/textops.c b/src/modules/textops/textops.c
index 3db4626232..abf8e3e785 100644
--- a/src/modules/textops/textops.c
+++ b/src/modules/textops/textops.c
@@ -923,7 +923,7 @@ static int fixup_regex_substring(void** param, int param_no)
 		return fixup_spve_all(param, param_no);
 	}
 
-	if (param_no == 3 || param_no == 3) {
+	if (param_no == 3 || param_no == 4) {
 		return fixup_igp_all(param, param_no);
 	}
 




More information about the sr-dev mailing list