Commit 1ac99359 authored by jehan's avatar jehan
Browse files

do not check mandatory headers in null messages

parent 1911434d
......@@ -93,7 +93,7 @@ belle_sip_message_t* belle_sip_message_parse_raw (const char* buff, size_t buff_
/*check if message is valid*/
if (!belle_sip_check_message_headers(l_parsed_object)) {
if (l_parsed_object && !belle_sip_check_message_headers(l_parsed_object)) {
/*error case*/
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