summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-06 09:41:17 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-06 09:41:17 +0000
commit9c66032fdc937f852771949c4b4c94ade67324d8 (patch)
treebb6d08bf983b336efa8ea1e2da2a42117f185fa1 /protocols/Tox/src/tox_proto.cpp
parentea7a6070439e85db5afcee399b920c975f4ea7d2 (diff)
Tox:
- fixed file transfer with size > 2mb - fixed file lock after transfer - accelerated file transfers git-svn-id: http://svn.miranda-ng.org/main/trunk@11778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r--protocols/Tox/src/tox_proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index f3785a3893..7986987fe4 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -44,6 +44,8 @@ CToxProto::CToxProto(const char* protoName, const TCHAR* userName) :
CreateProtoService(PS_GETAVATARINFOT, &CToxProto::GetAvatarInfo);
CreateProtoService(PS_GETMYAVATART, &CToxProto::GetMyAvatar);
CreateProtoService(PS_SETMYAVATART, &CToxProto::SetMyAvatar);
+
+ hToxEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
}
CToxProto::~CToxProto()