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.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_account.cpp b/protocols/Steam/src/steam_account.cpp
index af1d1e5cb5..cc6652910d 100644
--- a/protocols/Steam/src/steam_account.cpp
+++ b/protocols/Steam/src/steam_account.cpp
@@ -225,7 +225,8 @@ void CSteamProto::OnLoggedOn(const NETLIBHTTPREQUEST *response, void *)
if (response == NULL)
{
// Probably expired TokenSecret
- return HandleTokenExpired();
+ HandleTokenExpired();
+ return;
}
JSONROOT root(response->pData);
@@ -235,7 +236,8 @@ void CSteamProto::OnLoggedOn(const NETLIBHTTPREQUEST *response, void *)
if (lstrcmpi(error, L"OK")/* || response->resultCode == HTTP_STATUS_UNAUTHORIZED*/)
{
// Probably expired TokenSecret
- return HandleTokenExpired();
+ HandleTokenExpired();
+ return;
}
node = json_get(root, "umqid");