Skip to content

Commit

Permalink
acc: DLGCB_TERMINATED callback can be run without received request
Browse files Browse the repository at this point in the history
- the case of local generated bye
  • Loading branch information
miconda committed Apr 15, 2015
1 parent 74c93c2 commit 1e7e027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/acc/acc_cdr.c
Expand Up @@ -643,7 +643,7 @@ void cdr_on_end_confirmed( struct dlg_cell* dialog,
int type,
struct dlg_cb_params* params)
{
if( !dialog || !params || !params->req)
if( !dialog || !params )
{
LM_ERR("invalid values\n!");
return;
Expand Down

0 comments on commit 1e7e027

Please sign in to comment.