Skip to content

Commit

Permalink
core: xavp - added missing closing parenthesis in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Apr 3, 2024
1 parent e7b207e commit 3b09fd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/xavp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 3b09fd3

Please sign in to comment.