Module: kamailio
Branch: master
Commit: e14d2ee291f76cc4d1187ccbc1c88f6ccf36fe28
URL:
https://github.com/kamailio/kamailio/commit/e14d2ee291f76cc4d1187ccbc1c88f6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-11-22T10:12:17+01:00
peering: updated to use xavp long value field
---
Modified: src/modules/peering/verify.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e14d2ee291f76cc4d1187ccbc1c88f6…
Patch:
https://github.com/kamailio/kamailio/commit/e14d2ee291f76cc4d1187ccbc1c88f6…
---
diff --git a/src/modules/peering/verify.c b/src/modules/peering/verify.c
index 6865cf1b414..a84c1f79c32 100644
--- a/src/modules/peering/verify.c
+++ b/src/modules/peering/verify.c
@@ -141,7 +141,7 @@ static int generate_avps(VALUE_PAIR* received)
if (add_avp( flags, name, val) < 0) {
LM_ERR("unable to add a new AVP\n");
} else {
- LM_DBG("AVP '%.*s'/%d='%.*s'/%d has been added\n",
+ LM_DBG("AVP '%.*s'/%ld='%.*s'/%ld has been added\n",
(flags&AVP_NAME_STR)?name.s.len:4,
(flags&AVP_NAME_STR)?name.s.s:"null",
(flags&AVP_NAME_STR)?0:name.n,