Commit 4fd951be authored by jehan's avatar jehan

fix compilation issue

parent 2902d668
......@@ -454,10 +454,9 @@ static void bad_req_process_io_error(void *user_ctx, const belle_sip_io_error_ev
}
static void bad_req_process_response_event(void *user_ctx, const belle_sip_response_event_t *event){
int *bad_request_response_received=(int*)user_ctx;
belle_sip_response_t *resp=belle_sip_response_event_get_response(event);
if (belle_sip_response_event_get_client_transaction(event) == NULL)
BC_ASSERT_TRUE(resp && belle_sip_response_get_status_code(resp)==400);
*bad_request_response_received=1;
belle_sip_main_loop_quit(belle_sip_stack_get_main_loop(stack));
}
......
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