diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-09-14 21:29:34 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-09-14 21:29:34 +0000 |
commit | 5eba89621355c33785278d92b88bb4168475d72c (patch) | |
tree | b7d67171ce2669b72e55cfa14e78c97d646ca686 /protocols/Tox/src/tox_network.cpp | |
parent | 134439511d180795dc79f25dd617a9dcdce8dd29 (diff) |
Tox: fix crash when going offline
git-svn-id: http://svn.miranda-ng.org/main/trunk@15356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_network.cpp')
-rw-r--r-- | protocols/Tox/src/tox_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp index 0071d9b3f8..ea090920c5 100644 --- a/protocols/Tox/src/tox_network.cpp +++ b/protocols/Tox/src/tox_network.cpp @@ -148,7 +148,7 @@ void CToxProto::PollingThread(void*) logger->Log(__FUNCTION__": entering");
- if (!InitToxCore(&toxThread))
+ if (!InitToxCore())
{
SetStatus(ID_STATUS_OFFLINE);
ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, (HANDLE)NULL, LOGINERR_WRONGPASSWORD);
|