From b82ef4699cd48e367895194ab53f8a9a315be94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 5 May 2015 15:37:03 +0000 Subject: Steam: void functions should use simple return; git-svn-id: http://svn.miranda-ng.org/main/trunk@13444 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_account.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src') 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"); -- cgit v1.2.3