Commit 030de1f3 authored by jehan's avatar jehan
Browse files

make sure dialog created by NOTIFY can be attached to a valid op

parent 418999f9
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment