summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_network.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-15 21:15:52 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-15 21:15:52 +0000
commitec16b101e315312ce413f4bb9f7a5de5e993fcaf (patch)
treebbb44e561e22af07dec8297d6b010d828f03148b /protocols/Tox/src/tox_network.cpp
parentc08a8d0b413a616b721eeb37e4a2e9287c053410 (diff)
Tox:
- temporary disabled multimedia abilities - fixed file sending - fixed avatar changing - updated tox core - version bumb git-svn-id: http://svn.miranda-ng.org/main/trunk@13610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_network.cpp')
-rw-r--r--protocols/Tox/src/tox_network.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index ec79f22747..d97496b856 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -143,7 +143,8 @@ void CToxProto::DoTox()
{
mir_cslock lock(toxLock);
tox_iterate(tox);
- toxav_do(toxAv);
+ if (toxAv)
+ toxav_do(toxAv);
}
uint32_t interval = tox_iteration_interval(tox);
Sleep(interval);