From 5eba89621355c33785278d92b88bb4168475d72c Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 14 Sep 2015 21:29:34 +0000 Subject: Tox: fix crash when going offline git-svn-id: http://svn.miranda-ng.org/main/trunk@15356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox/src/tox_network.cpp') 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); -- cgit v1.2.3