From 15877bd0e2177fe045e9a7097a7b836053b1a491 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 19 Jan 2015 06:13:17 +0000 Subject: Tox: fixed resuming for broken files git-svn-id: http://svn.miranda-ng.org/main/trunk@11876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_proto.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'protocols/Tox/src/tox_proto.cpp') diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index b5be241c0f..36dba649ea 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -46,11 +46,15 @@ CToxProto::CToxProto(const char* protoName, const TCHAR* userName) : CreateProtoService(PS_GETMYAVATART, &CToxProto::GetMyAvatar); CreateProtoService(PS_SETMYAVATART, &CToxProto::SetMyAvatar); + // transfers + transfers = new CTransferList(); + hToxEvent = CreateEvent(NULL, TRUE, FALSE, NULL); } CToxProto::~CToxProto() { + delete transfers; mir_free(accountName); UninitNetlib(); } -- cgit v1.2.3