Skip to content

Commit

Permalink
log_systemd: return in case the xavp is not valid
Browse files Browse the repository at this point in the history
(cherry picked from commit 9e703c1)
  • Loading branch information
miconda committed Sep 24, 2019
1 parent cba7b6a commit 3425fba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/log_systemd/journal_send.c
Expand Up @@ -40,6 +40,7 @@ int k_sd_journal_send_xavp(str *rname)

if (!rxavp || rxavp->val.type != SR_XTYPE_XAVP) {
LM_ERR("not a valid xavp: %.*s?\n", rname->len, rname->s);
return -1;
}

/* first, count xavp nodes */
Expand Down

0 comments on commit 3425fba

Please sign in to comment.