summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-18 12:16:33 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-18 12:16:33 +0000
commit3bc30875e34c2c16f2ee489227c0c7da7fee7f7f (patch)
treef244e90fdae81af8e74008a8de545e70fd0b062d /protocols/Tox/src/tox_core.cpp
parent078629bda35180976d96e0f0a130343f8918a05a (diff)
Tox: some fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12908 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_core.cpp')
-rw-r--r--protocols/Tox/src/tox_core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_core.cpp b/protocols/Tox/src/tox_core.cpp
index 36b53f8c19..400091cbed 100644
--- a/protocols/Tox/src/tox_core.cpp
+++ b/protocols/Tox/src/tox_core.cpp
@@ -67,8 +67,8 @@ bool CToxProto::InitToxCore()
toxav_register_callstate_callback(toxAv, OnAvCancel, av_OnCancel, this);
toxav_register_callstate_callback(toxAv, OnAvReject, av_OnReject, this);
toxav_register_callstate_callback(toxAv, OnAvEnd, av_OnEnd, this);
- toxav_register_callstate_callback(toxAv, OnAvTimeout, av_OnRequestTimeout, this);
- //toxav_register_callstate_callback(toxAv, OnAvTimeout, av_OnPeerTimeout, this);
+ toxav_register_callstate_callback(toxAv, OnAvCallTimeout, av_OnRequestTimeout, this);
+ toxav_register_callstate_callback(toxAv, OnAvPeerTimeout, av_OnPeerTimeout, this);
uint8_t data[TOX_ADDRESS_SIZE];
tox_self_get_address(tox, data);