Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
menu: warning in follow up invite handler
Browse files Browse the repository at this point in the history
cspiel1 committed Nov 27, 2023
1 parent 512efe5 commit ae6b9b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/menu/menu.c
Original file line number Diff line number Diff line change
@@ -470,7 +470,12 @@ static void invite_handler(void *arg)
if (!str_isset(uri))
return;

ua_connect(uag_find_requri(uri), NULL, NULL, uri, VIDMODE_ON);
int err;
err = ua_connect(uag_find_requri(uri), NULL, NULL, uri, VIDMODE_ON);
if (err)
warning("menu: call to %s failed (%m)\n", menu.invite_uri,
err);

menu.invite_uri = mem_deref(menu.invite_uri);
}

0 comments on commit ae6b9b3

Please sign in to comment.