Module: kamailio
Branch: master
Commit: 3b09fd343575c56d9658a61efebd4851662de338
URL:
https://github.com/kamailio/kamailio/commit/3b09fd343575c56d9658a61efebd485…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-04-03T12:16:18+02:00
core: xavp - added missing closing parenthesis in log messages
---
Modified: src/core/xavp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3b09fd343575c56d9658a61efebd485…
Patch:
https://github.com/kamailio/kamailio/commit/3b09fd343575c56d9658a61efebd485…
---
diff --git a/src/core/xavp.c b/src/core/xavp.c
index 128ea631013..21a8197080b 100644
--- a/src/core/xavp.c
+++ b/src/core/xavp.c
@@ -1151,7 +1151,7 @@ int xavp_serialize_fields_style(str *rname, int mode, char *obuf,
int olen)
avp->name.len, avp->name.s, (unsigned long)avp->val.v.l,
sf);
if(ostr.len <= 0 || ostr.len >= olen - rlen) {
- LM_ERR("failed to serialize long int value (%d/%d\n",
+ LM_ERR("failed to serialize long int value (%d/%d)\n",
ostr.len, olen - rlen);
return -1;
}
@@ -1162,7 +1162,7 @@ int xavp_serialize_fields_style(str *rname, int mode, char *obuf,
int olen)
avp->name.len, avp->name.s,
(unsigned long long)avp->val.v.ll, sf);
if(ostr.len <= 0 || ostr.len >= olen - rlen) {
- LM_ERR("failed to serialize long long value (%d/%d\n",
+ LM_ERR("failed to serialize long long value (%d/%d)\n",
ostr.len, olen - rlen);
return -1;
}
@@ -1178,7 +1178,7 @@ int xavp_serialize_fields_style(str *rname, int mode, char *obuf,
int olen)
qs, avp->val.v.s.len, avp->val.v.s.s, qs, sf);
}
if(ostr.len <= 0 || ostr.len >= olen - rlen) {
- LM_ERR("failed to serialize int value (%d/%d\n", ostr.len,
+ LM_ERR("failed to serialize str value (%d/%d)\n", ostr.len,
olen - rlen);
return -1;
}