Commit 8b674d05 authored by jehan's avatar jehan
Browse files

avoid crash if SIP request cannot be created

parent df87ec31
......@@ -268,6 +268,9 @@ static int _sal_op_send_request_with_contact(SalOp* op, belle_sip_request_t* req
int sal_op_send_request(SalOp* op, belle_sip_request_t* request) {
bool_t need_contact=FALSE;
if (request==NULL) {
return -1; /*sanity check*/
}
/*
Header field where proxy ACK BYE CAN INV OPT REG
___________________________________________________________
......
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