Module: kamailio
Branch: 5.1
Commit: f44a02672d6937deafda21f99a912fe55a3d96d6
URL:
https://github.com/kamailio/kamailio/commit/f44a02672d6937deafda21f99a912fe…
Author: sergey-safarov <s.safarov(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-20T19:35:48+01:00
textops: Fixed remove_hf_exp arguments params (#1485)
(cherry picked from commit f3cfb4910ae0fd197757d2ec2362b9715205e21e)
---
Modified: src/modules/textops/textops.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f44a02672d6937deafda21f99a912fe…
Patch:
https://github.com/kamailio/kamailio/commit/f44a02672d6937deafda21f99a912fe…
---
diff --git a/src/modules/textops/textops.c b/src/modules/textops/textops.c
index 7dbd07b03c..b6ad78d55c 100644
--- a/src/modules/textops/textops.c
+++ b/src/modules/textops/textops.c
@@ -208,7 +208,7 @@ static cmd_export_t cmds[]={
{"remove_hf_re", (cmd_function)remove_hf_re_f, 1,
fixup_regexp_null, fixup_free_regexp_null,
ANY_ROUTE},
- {"remove_hf_exp", (cmd_function)remove_hf_exp_f, 1,
+ {"remove_hf_exp", (cmd_function)remove_hf_exp_f, 2,
fixup_regexp_regexp, fixup_free_regexp_regexp,
ANY_ROUTE},
{"is_present_hf", (cmd_function)is_present_hf_f, 1,