summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_transfer.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-10 17:54:23 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-10 17:54:23 +0000
commit9cecda91ac7e563b14fdba9d9cd5feea3faccf69 (patch)
tree69851e0ba714e6355482cc8f76455fa9e5437883 /protocols/Tox/src/tox_transfer.cpp
parenta5b1d360d298c6a81f09fa65a609736bc9b8fe52 (diff)
Tox: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12750 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_transfer.cpp')
-rw-r--r--protocols/Tox/src/tox_transfer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_transfer.cpp b/protocols/Tox/src/tox_transfer.cpp
index c2cbad33cd..cb2e3d7e0f 100644
--- a/protocols/Tox/src/tox_transfer.cpp
+++ b/protocols/Tox/src/tox_transfer.cpp
@@ -22,7 +22,6 @@ void CToxProto::OnFriendFile(Tox*, uint32_t friendNumber, uint32_t fileNumber, u
FileTransferParam *transfer = new FileTransferParam(friendNumber, fileNumber, name, fileSize);
transfer->pfts.hContact = hContact;
- transfer->pfts.flags |= PFTS_RECEIVING;
proto->transfers.Add(transfer);
if (kind == TOX_FILE_KIND_AVATAR)
@@ -216,7 +215,6 @@ HANDLE CToxProto::OnSendFile(MCONTACT hContact, const PROTOCHAR*, PROTOCHAR **pp
FileTransferParam *transfer = new FileTransferParam(friendNumber, fileNumber, fileName, fileSize);
transfer->pfts.hContact = hContact;
- transfer->pfts.flags |= PFTS_SENDING;
transfer->pfts.tszWorkingDir = fileDir;
transfer->hFile = hFile;
transfers.Add(transfer);