From 3c0a4e15c3008a68cc8326e7b6d1b957a3218b0e Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 27 Jun 2016 09:29:45 +0200 Subject: [PATCH] Do not use deprecated ms_list_remove() function. --- coreapi/chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/chat.c b/coreapi/chat.c index 645b0683d..cf8e8cb48 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -470,7 +470,7 @@ void _linphone_chat_room_send_message(LinphoneChatRoom *cr, LinphoneChatMessage if (call && call->op == op) { /*In this case, chat delivery status is not notified, so unrefing chat message right now*/ /*Might be better fixed by delivering status, but too costly for now*/ - msg->chat_room->transient_messages = ms_list_remove(msg->chat_room->transient_messages, msg); + msg->chat_room->transient_messages = bctbx_list_remove(msg->chat_room->transient_messages, msg); linphone_chat_message_unref(msg); linphone_chat_message_unref(msg); return;