From cd2367331720a1c1b4755e0143163ce761b7cc7d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 10 Sep 2014 10:33:09 +0200 Subject: [PATCH] Another compilation fix for Visual Studio. --- coreapi/chat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/chat.c b/coreapi/chat.c index a8795a09b..59803a039 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -128,6 +128,7 @@ static void linphone_chat_message_process_response_from_post_file(void *data, co belle_http_request_listener_t *l; belle_generic_uri_t *uri; belle_http_request_t *req; + belle_sip_multipart_body_handler_t *bh; char* ua; /* temporary storage of the header of the message part header */ @@ -140,7 +141,7 @@ static void linphone_chat_message_process_response_from_post_file(void *data, co belle_sip_free(first_part_header); /* insert it in a multipart body handler which will manage the boundaries of multipart message */ - belle_sip_multipart_body_handler_t *bh=belle_sip_multipart_body_handler_new(linphone_chat_message_file_transfer_on_progress, msg, (belle_sip_body_handler_t *)first_part_bh); + bh=belle_sip_multipart_body_handler_new(linphone_chat_message_file_transfer_on_progress, msg, (belle_sip_body_handler_t *)first_part_bh); ua = ms_strdup_printf("%s/%s", linphone_core_get_user_agent_name(), linphone_core_get_user_agent_version());