Skip to content

Commit

Permalink
bevent: avoid override err
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Dec 18, 2024
1 parent d666b1c commit 90a554d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ int odict_encode_bevent(struct odict *od, struct bevent *event)
err = odict_pl_add(od, "contact", &hdr->val);

if (pl_isset(&msg->from.dname))
err = odict_pl_add(od, "display", &msg->from.dname);
err |= odict_pl_add(od, "display", &msg->from.dname);

err |= re_sdprintf(&buf, "%H", uri_encode, &msg->from.uri);
err |= odict_entry_add(od, "from", ODICT_STRING, buf);
Expand Down

0 comments on commit 90a554d

Please sign in to comment.