[sr-dev] git:master:3f96ede6: cplc: init structures, fix parameter number in fixup

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 31 15:54:49 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/3f96ede632ce9ef945086a1f384677151209fcc6.diff
Patch: https://github.com/kamailio/kamailio/commit/3f96ede632ce9ef945086a1f384677151209fcc6.patch

---

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;




More information about the sr-dev mailing list