summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_contacts.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-02-25 18:14:00 +0300
committeraunsane <aunsane@gmail.com>2017-02-25 18:14:45 +0300
commit9c42db78c1d1b7df8ac552ac7ee691aa480ca54f (patch)
tree868720a5dd4fe8c35e5206591279813e0d12cbd0 /protocols/Tox/src/tox_contacts.cpp
parentc8711bcc5e14c970439e208ee5c05b420bf14259 (diff)
Tox: added some logs to find problem by issue #720
Diffstat (limited to 'protocols/Tox/src/tox_contacts.cpp')
-rw-r--r--protocols/Tox/src/tox_contacts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp
index a2ea294ee0..d8871542db 100644
--- a/protocols/Tox/src/tox_contacts.cpp
+++ b/protocols/Tox/src/tox_contacts.cpp
@@ -319,6 +319,8 @@ void CToxProto::OnConnectionStatusChanged(Tox*, uint32_t friendNumber, TOX_CONNE
if (!hContact)
return;
+ Netlib_Logf(proto->m_hNetlibUser, __FUNCTION__": friend(%d) status changed to (%d)", friendNumber, status);
+
if (status != TOX_CONNECTION_NONE)
{
proto->delSetting(hContact, "Auth");