summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_transfer.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-19 20:40:23 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-19 20:40:23 +0000
commite410a9b04782e184ba9db7d4ecbd378053f2a22c (patch)
tree649f5e2b2843293ae19be5473591b6820547bafc /protocols/Tox/src/tox_transfer.h
parent6bd1d5b69a94f4f5971aaa60a788863e6fe6f8fd (diff)
Tox: fixed file transfer
git-svn-id: http://svn.miranda-ng.org/main/trunk@11880 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_transfer.h')
-rw-r--r--protocols/Tox/src/tox_transfer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_transfer.h b/protocols/Tox/src/tox_transfer.h
index 5f3e2cbc9d..f0732ca3b0 100644
--- a/protocols/Tox/src/tox_transfer.h
+++ b/protocols/Tox/src/tox_transfer.h
@@ -122,7 +122,7 @@ public:
FileTransferParam * Get(uint8_t fileNumber)
{
- if (transfers.find(fileNumber) == transfers.end())
+ if (transfers.find(fileNumber) != transfers.end())
{
return transfers.at(fileNumber);
}