Module: kamailio
Branch: master
Commit: 3f96ede632ce9ef945086a1f384677151209fcc6
URL:
https://github.com/kamailio/kamailio/commit/3f96ede632ce9ef945086a1f3846771…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-31T15:54:27+02:00
cplc: init structures, fix parameter number in fixup
---
Modified: src/modules/cplc/cplc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3f96ede632ce9ef945086a1f3846771…
Patch:
https://github.com/kamailio/kamailio/commit/3f96ede632ce9ef945086a1f3846771…
---
diff --git a/src/modules/cplc/cplc.c b/src/modules/cplc/cplc.c
index cb47ffc4e0..95cf946a83 100644
--- a/src/modules/cplc/cplc.c
+++ b/src/modules/cplc/cplc.c
@@ -203,7 +203,7 @@ static int fixup_cpl_run_script3(void** param, int param_no)
{
if (param_no==1 || param_no==2) {
return fixup_cpl_run_script(param, param_no);
- } else if (param_no==2) {
+ } else if (param_no==3) {
return fixup_spve_null(param, 1);
}
return 0;