Module: kamailio
Branch: master
Commit: 73842a6fc548ae79751f98bdaa717e95e46850e4
URL:
https://github.com/kamailio/kamailio/commit/73842a6fc548ae79751f98bdaa717e9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/73842a6fc548ae79751f98bdaa717e9…
Patch:
https://github.com/kamailio/kamailio/commit/73842a6fc548ae79751f98bdaa717e9…
---
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);
}