From f5584d8ae977f278ae9735f53ab868c8574c2451 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 13 Sep 2015 08:03:11 +0000 Subject: Steam: fix login git-svn-id: http://svn.miranda-ng.org/main/trunk@15338 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_pooling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Steam/src/steam_pooling.cpp') diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp index 0c1f50e9fd..2dee4115d8 100644 --- a/protocols/Steam/src/steam_pooling.cpp +++ b/protocols/Steam/src/steam_pooling.cpp @@ -180,7 +180,7 @@ void CSteamProto::PollingThread(void*) HttpResponse *response = request->Send(m_hNetlibUser); delete request; - if (response == NULL || response->resultCode != HTTP_CODE_OK) + if (!response || response->resultCode != HTTP_CODE_OK) { if (response != NULL) delete response; -- cgit v1.2.3