From 85e0f71e99ead38c01c4ad127b66aafa723ade3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 25 Dec 2016 12:30:32 +0100 Subject: Steam: Fix immediate quit of polling thread (addresses #646) --- protocols/Steam/src/steam_login.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index f399eb0195..e68ffb48cb 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -395,9 +395,9 @@ void CSteamProto::OnLoggedOn(const HttpResponse *response) new GetFriendListRequest(token, steamId), &CSteamProto::OnGotFriendList); - // start polling thread - m_hPollingThread = ForkThreadEx(&CSteamProto::PollingThread, 0, NULL); - // go to online now ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)ID_STATUS_CONNECTING, m_iStatus = m_iDesiredStatus); + + // start polling thread + m_hPollingThread = ForkThreadEx(&CSteamProto::PollingThread, 0, NULL); } \ No newline at end of file -- cgit v1.2.3