From 8e09c4d75e26ed3fc165cd35fd1fc79614b1420e Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 4 May 2016 16:22:54 +0000 Subject: Tox: - removed own logger - bootstrap splitted into two functions: udp and tcp git-svn-id: http://svn.miranda-ng.org/main/trunk@16801 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_chatrooms.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Tox/src/tox_chatrooms.cpp') diff --git a/protocols/Tox/src/tox_chatrooms.cpp b/protocols/Tox/src/tox_chatrooms.cpp index d5a6dd4ebc..aba34e46b6 100644 --- a/protocols/Tox/src/tox_chatrooms.cpp +++ b/protocols/Tox/src/tox_chatrooms.cpp @@ -49,7 +49,7 @@ void CToxProto::LoadChatRoomList(void*) uint32_t count = tox_count_chatlist(toxThread->Tox()); if (count == 0) { - logger->Log("CToxProto::LoadGroupChatList: your group chat list is empty"); + debugLogA(__FUNCTION__": your group chat list is empty"); return; } int32_t *groupChats = (int32_t*)mir_alloc(count * sizeof(int32_t)); @@ -175,21 +175,21 @@ void CToxProto::OnGroupChatInvite(Tox *tox, int32_t friendNumber, uint8_t type, if (type == TOX_GROUPCHAT_TYPE_AV) { - proto->logger->Log("CToxProto::OnGroupChatInvite: audio chat is not supported yet"); + Netlib_Logf(proto->m_hNetlibUser, __FUNCTION__": audio chat is not supported yet"); return; } int groupNumber = tox_join_groupchat(tox, friendNumber, data, length); if (groupNumber == TOX_ERROR) { - proto->logger->Log("CToxProto::OnFriendRequest: failed to join to group chat"); + Netlib_Logf(proto->m_hNetlibUser, __FUNCTION__": failed to join to group chat"); return; } MCONTACT hContact = proto->AddChatRoom(groupNumber); if (!hContact) { - proto->logger->Log("CToxProto::OnFriendRequest: failed to create group chat"); + Netlib_Logf(proto->m_hNetlibUser, __FUNCTION__": failed to create group chat"); } } -- cgit v1.2.3