summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_avatars.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-05-06 15:58:45 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-05-06 15:58:45 +0000
commitb158dd53ea1d868e1fa123206f7ef3c8b54112f3 (patch)
tree2ac893861c622f064288203af0b5e717c92d7e6a /protocols/Tox/src/tox_avatars.cpp
parentf6c3afc4b7eb38a4c2a189fa7e5ba9d44c095cc4 (diff)
Tox: attempt to avoid file lock on transfer
git-svn-id: http://svn.miranda-ng.org/main/trunk@16807 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_avatars.cpp')
-rw-r--r--protocols/Tox/src/tox_avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp
index dad9aad980..b7282e781f 100644
--- a/protocols/Tox/src/tox_avatars.cpp
+++ b/protocols/Tox/src/tox_avatars.cpp
@@ -224,7 +224,7 @@ void CToxProto::OnGotFriendAvatarInfo(AvatarTransferParam *transfer)
if (memcmp(transfer->hash, dbv.pbVal, TOX_HASH_LENGTH) == 0)
{
db_free(&dbv);
- OnFileCancel(transfer->pfts.hContact, transfer);
+ CancelTransfer(transfer->pfts.hContact, transfer);
return;
}
db_free(&dbv);