Skip to content

Commit

Permalink
bevent: fix typo in deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Aug 25, 2024
1 parent 1c0c130 commit feef318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ static void ua_event_private(struct ua *ua, enum ua_event ev,
* @param fmt Formatted arguments
* @param ... Variable arguments
*
* @deprecated Use one of the event_xxx_emit() functions
* @deprecated Use one of the bevent_xxx_emit() functions
*/
void ua_event(struct ua *ua, enum ua_event ev, struct call *call,
const char *fmt, ...)
Expand All @@ -722,7 +722,7 @@ void ua_event(struct ua *ua, enum ua_event ev, struct call *call,

if (w && w--)
warning("Used deprecated ua_event() for %s. "
"Use one of event_xxx_emit() instead!\n",
"Use one of bevent_xxx_emit() instead!\n",
uag_event_str(ev));

struct bevent event = {.ev = ev, .txt = buf};
Expand Down

0 comments on commit feef318

Please sign in to comment.