Commit 8d150254 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix issue where message parsed wasn't null but still incorrect

parent 38ef8808
......@@ -184,7 +184,7 @@ int belle_sip_channel_process_data(belle_sip_channel_t *obj,unsigned int revents
if (obj->input_stream.msg){
if (obj->input_stream.msg && message_size > 0){
if (belle_sip_message_is_request(obj->input_stream.msg)) fix_incoming_via(BELLE_SIP_REQUEST(obj->input_stream.msg),obj->peer);
/*check for body*/
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