diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-12-25 12:30:32 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-12-25 12:30:32 +0100 |
commit | 85e0f71e99ead38c01c4ad127b66aafa723ade3c (patch) | |
tree | 2224d804ab53238a21c35041d15276167dc40d57 /protocols/Steam/src | |
parent | cd7e3fdb79d91775151cff56de4525343e73cdb4 (diff) |
Steam: Fix immediate quit of polling thread (addresses #646)
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |