Module: kamailio
Branch: 5.8
Commit: 1caec71aeddb7f65afb93bf05cb9e0aae2a2c0cd
URL:
https://github.com/kamailio/kamailio/commit/1caec71aeddb7f65afb93bf05cb9e0a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-04-03T12:21:26+02:00
core: xavp - added missing closing parenthesis in log messages
(cherry picked from commit 3b09fd343575c56d9658a61efebd4851662de338)
---
Modified: src/core/xavp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1caec71aeddb7f65afb93bf05cb9e0a…
Patch:
https://github.com/kamailio/kamailio/commit/1caec71aeddb7f65afb93bf05cb9e0a…
---
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;
}