summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r--protocols/Tox/src/tox_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index 064ad7cc91..f73e776f0d 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -103,7 +103,7 @@ HANDLE CToxProto::FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *ts
int CToxProto::FileCancel(MCONTACT hContact, HANDLE hTransfer)
{
- return OnFileCancel(hContact, hTransfer);
+ return CancelTransfer(hContact, hTransfer);
}
int CToxProto::FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR*)