From 421bde2e3715e50ce5b5482a9cc10ae8ae819c47 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Mon, 30 Jun 2014 21:19:04 +0200 Subject: [PATCH] fix filetransfer --- coreapi/help/filetransfer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/coreapi/help/filetransfer.c b/coreapi/help/filetransfer.c index 552137688..3005fff01 100644 --- a/coreapi/help/filetransfer.c +++ b/coreapi/help/filetransfer.c @@ -73,9 +73,7 @@ static void file_transfer_received(LinphoneCore *lc, LinphoneChatMessage *messag /*next chunk*/ file = (FILE*)linphone_chat_message_get_user_data(message); - /*next chunk*/ - file = (int)((long)(linphone_chat_message_get_user_data(message))&0x00000000FFFFFFFF); - + if (size) { printf("File transfert completed\n"); linphone_chat_room_destroy(linphone_chat_message_get_chat_room(message)); linphone_chat_message_destroy(message);