summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-18 22:45:37 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-18 22:45:37 +0000
commita8af35bf6e3de34405ce5dbc3b035039a9ee4806 (patch)
tree251e681398e7ed2b6a4707a1b1900822f3fbfae1 /protocols/Tox/src/tox_account.cpp
parent78b13a92fb3bbc7d7ae3cc31e84a99758e392d4d (diff)
Tox:
- added pause support for file sending - added resuming for broken file transfers - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@11875 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r--protocols/Tox/src/tox_account.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp
index 5c4154af29..3b4f61b32b 100644
--- a/protocols/Tox/src/tox_account.cpp
+++ b/protocols/Tox/src/tox_account.cpp
@@ -142,11 +142,9 @@ void CToxProto::DoBootstrap()
void CToxProto::DoTox()
{
- {
- mir_cslock lock(toxLock);
- tox_do(tox);
- }
- PulseEvent(hToxEvent);
+ tox_do(tox);
+
+ //PulseEvent(hToxEvent);
uint32_t interval = tox_do_interval(tox);
Sleep(interval);
}