summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-05-05 15:37:03 +0000
committerRobert Pösel <robyer@seznam.cz>2015-05-05 15:37:03 +0000
commitb82ef4699cd48e367895194ab53f8a9a315be94f (patch)
treeb81c9c4e7b0918113c0388f77468ffd47282f5fc /protocols
parentb5975ff4291cddcf3b81a9f17639192da4b44f0a (diff)
Steam: void functions should use simple return;
git-svn-id: http://svn.miranda-ng.org/main/trunk@13444 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-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");