From 3dc4db00aa828d245e4f7a8a14233d624f3e2e7c Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 16 May 2015 17:15:39 +0000 Subject: Tox: removed unnecessary code git-svn-id: http://svn.miranda-ng.org/main/trunk@13624 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_contacts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp index 311f5d0ce8..0e458c5e1a 100644 --- a/protocols/Tox/src/tox_contacts.cpp +++ b/protocols/Tox/src/tox_contacts.cpp @@ -331,7 +331,7 @@ void CToxProto::OnConnectionStatusChanged(Tox*, uint32_t friendNumber, TOX_CONNE proto->delSetting(hContact, "Grant"); // resume transfers - for (size_t i = 0; i < proto->transfers.Count(); i++) + /*for (size_t i = 0; i < proto->transfers.Count(); i++) { // only for receiving FileTransferParam *transfer = proto->transfers.GetAt(i); @@ -345,7 +345,7 @@ void CToxProto::OnConnectionStatusChanged(Tox*, uint32_t friendNumber, TOX_CONNE tox_file_control(proto->tox, transfer->friendNumber, transfer->fileNumber, TOX_FILE_CONTROL_RESUME, NULL); } } - } + }*/ // update avatar std::tstring avatarPath = proto->GetAvatarFilePath(); -- cgit v1.2.3