summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-16 17:15:39 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-16 17:15:39 +0000
commit3dc4db00aa828d245e4f7a8a14233d624f3e2e7c (patch)
tree7ee04499f16a098ec33226901c56f600f6d3b01c
parentbb4a25ee1fb590c3fc84177d3c9518add8ac0c58 (diff)
Tox: removed unnecessary code
git-svn-id: http://svn.miranda-ng.org/main/trunk@13624 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Tox/src/tox_contacts.cpp4
1 files 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();