diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-28 06:48:33 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-28 06:48:33 +0000 |
commit | 21e7268a503be780b35e367564d711e79a61dffc (patch) | |
tree | 87b408e722116a6faea0d029d090e6278cda0f28 /protocols/Tox/src/tox_core.cpp | |
parent | 4410284da77786594d7009b6c515176de0d5a51e (diff) |
Tox:
- added support of tox1 dns resolving
- added request/grant items in contact menu
- added copy id item in statum menu
- code reordering
- fixed minor bugs
git-svn-id: http://svn.miranda-ng.org/main/trunk@12281 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_core.cpp')
-rw-r--r-- | protocols/Tox/src/tox_core.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_core.cpp b/protocols/Tox/src/tox_core.cpp index ae1d8eec51..337ac9b2f7 100644 --- a/protocols/Tox/src/tox_core.cpp +++ b/protocols/Tox/src/tox_core.cpp @@ -106,13 +106,13 @@ bool CToxProto::InitToxCore() void CToxProto::UninitToxCore()
{
- for (size_t i = 0; i < transfers->Count(); i++)
+ for (size_t i = 0; i < transfers.Count(); i++)
{
- FileTransferParam *transfer = transfers->GetAt(i);
+ FileTransferParam *transfer = transfers.GetAt(i);
transfer->status = CANCELED;
tox_file_send_control(tox, transfer->friendNumber, transfer->GetDirection(), transfer->fileNumber, TOX_FILECONTROL_KILL, NULL, 0);
ProtoBroadcastAck(transfer->pfts.hContact, ACKTYPE_FILE, ACKRESULT_DENIED, (HANDLE)transfer, 0);
- transfers->Remove(transfer);
+ transfers.Remove(transfer);
}
ptrA nickname(mir_utf8encodeW(ptrT(getTStringA("Nick"))));
|