From ab46b98479555c7106087f7d62b6c89f320ca311 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 16 Sep 2015 17:46:05 +0000 Subject: Steam: - attempt to fix numerous crashes git-svn-id: http://svn.miranda-ng.org/main/trunk@15365 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 2dee4115d8..32fe85d905 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 || response->resultCode != HTTP_CODE_OK) + if (!ResponseHttpOk(response)) { if (response != NULL) delete response; -- cgit v1.2.3