Skip to content

Commit

Permalink
dialog: indicate if dialog was not found when terminating
Browse files Browse the repository at this point in the history
(cherry picked from commit 8d6cfba)
  • Loading branch information
razvancrainea committed Jul 12, 2023
1 parent b8c6d20 commit 1421de6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/dialog/dlg_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -2801,6 +2801,8 @@ int terminate_dlg(const str *callid, unsigned int h_entry, unsigned int h_id,
if (dlg_end_dlg(dlg, 0, 1) ) {
LM_ERR("Failed to end dialog\n");
ret = -1;
} else {
ret = 1;
}

unref_dlg(dlg, 1);
Expand Down

0 comments on commit 1421de6

Please sign in to comment.