summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_connection.cpp')
-rw-r--r--protocols/Tox/src/tox_connection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_connection.cpp b/protocols/Tox/src/tox_connection.cpp
index 4c578a9696..80a84b74c0 100644
--- a/protocols/Tox/src/tox_connection.cpp
+++ b/protocols/Tox/src/tox_connection.cpp
@@ -2,7 +2,7 @@
bool CToxProto::IsOnline()
{
- return toxThread && m_iStatus >= ID_STATUS_ONLINE;
+ return m_toxThread && m_iStatus >= ID_STATUS_ONLINE;
}
void CToxProto::TryConnect(Tox *tox)
@@ -99,7 +99,7 @@ void CToxProto::PollingThread(void*)
}
tox_options_free(options);
- this->toxThread = &toxThread;
+ m_toxThread = &toxThread;
InitToxCore(toxThread.Tox());
BootstrapNodes(toxThread.Tox());
ForkThread(&CToxProto::CheckingThread, toxThread.Tox());
@@ -113,7 +113,7 @@ void CToxProto::PollingThread(void*)
}
UninitToxCore(toxThread.Tox());
- this->toxThread = nullptr;
+ m_toxThread = nullptr;
hPollingThread = nullptr;
debugLogA(__FUNCTION__": leaving");