mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 19:48:07 +00:00
make sure dialog created by NOTIFY can be attached to a valid op
This commit is contained in:
parent
418999f925
commit
030de1f36f
1 changed files with 2 additions and 1 deletions
|
|
@ -240,7 +240,8 @@ static void process_request_event(void *ud, const belle_sip_request_event_t *eve
|
|||
/*special case for Dialog created by notify mathing subscribe*/
|
||||
belle_sip_transaction_t * sub_trans = belle_sip_dialog_get_last_transaction(dialog);
|
||||
op = (SalOp*)belle_sip_transaction_get_application_data(sub_trans);
|
||||
} else if (op==NULL || op->state==SalOpStateTerminated){
|
||||
}
|
||||
if (op==NULL || op->state==SalOpStateTerminated){
|
||||
ms_warning("Receiving request for null or terminated op [%p], ignored",op);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue