[sr-dev] git:master:c47c759e: cnxcc: updated the export signature of set_max_credit() to kemi

Daniel-Constantin Mierla miconda at gmail.com
Sat Jan 12 18:17:07 CET 2019


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-01-12T18:15:28+01:00

cnxcc: updated the export signature of set_max_credit() to kemi

- affected by last addition with connection cost

---

Modified: src/modules/cnxcc/cnxcc_mod.c

---

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

---

diff --git a/src/modules/cnxcc/cnxcc_mod.c b/src/modules/cnxcc/cnxcc_mod.c
index d1a7c17076..55d9bf00a1 100644
--- a/src/modules/cnxcc/cnxcc_mod.c
+++ b/src/modules/cnxcc/cnxcc_mod.c
@@ -2127,7 +2127,7 @@ static sr_kemi_t sr_kemi_cnxcc_exports[] = {
 	{ str_init("cnxcc"), str_init("set_max_credit"),
 		SR_KEMIP_INT, ki_set_max_credit,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
-			SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE }
+			SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_INT }
 	},
 	{ str_init("cnxcc"), str_init("set_max_time"),
 		SR_KEMIP_INT, ki_set_max_time,




More information about the sr-dev mailing list