summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_account.cpp')
-rw-r--r--protocols/Steam/src/steam_account.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Steam/src/steam_account.cpp b/protocols/Steam/src/steam_account.cpp
index 0335d40b1d..13708c50f7 100644
--- a/protocols/Steam/src/steam_account.cpp
+++ b/protocols/Steam/src/steam_account.cpp
@@ -146,7 +146,7 @@ void CSteamProto::LogInThread(void* param)
token = mir_strdup(authResult.GetToken());
setString("TokenSecret", token);
- setString("Cookie", authResult.GetCookie());
+ //setString("Cookie", authResult.GetCookie());
setString("SteamID", authResult.GetSteamid());
setString("SessionID", authResult.GetSessionId());
}
@@ -180,7 +180,7 @@ void CSteamProto::LogInThread(void* param)
m_iStatus = m_iDesiredStatus;
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)ID_STATUS_CONNECTING, m_iStatus);
- ptrA sessionId(getStringA("SessionID"));
+ /*ptrA sessionId(getStringA("SessionID"));
if (!sessionId || lstrlenA(sessionId) == 0)
{
SteamWebApi::SessionApi::SessionId result;
@@ -188,7 +188,7 @@ void CSteamProto::LogInThread(void* param)
SteamWebApi::SessionApi::GetSessionId(m_hNetlibUser, token, loginResult.GetSteamId(), &result);
if (result.IsSuccess())
setString("SessionID", result.GetSessionId());
- }
+ }*/
// load contact list
LoadContactListThread(NULL);
@@ -206,8 +206,8 @@ void CSteamProto::LogOutThread(void*)
ptrA token(getStringA("TokenSecret"));
ptrA umqId(getStringA("UMQID"));
- while (m_bTerminated && m_hPollingThread != NULL)
- Sleep(500);
+ while (!Miranda_Terminated() && m_bTerminated && m_hPollingThread != NULL)
+ Sleep(200);
debugLogA("CSteamProto::LogOutThread: call SteamWebApi::LoginApi::Logoff");
SteamWebApi::LoginApi::Logoff(m_hNetlibUser, token, umqId);