diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-24 09:19:27 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-24 09:19:27 +0000 |
commit | a2ae51e943d855748962f4738dd9f87b96ad00b0 (patch) | |
tree | c847b6c22b05105f65f3a981e1e90302d9b95957 /protocols/Steam/src/steam_pooling.cpp | |
parent | 799f5807fe6c3797787768b385e7e7c22a26a6c2 (diff) |
Steam: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14358 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_pooling.cpp')
-rw-r--r-- | protocols/Steam/src/steam_pooling.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp index 71d1b20f0e..1233c9a7a0 100644 --- a/protocols/Steam/src/steam_pooling.cpp +++ b/protocols/Steam/src/steam_pooling.cpp @@ -180,7 +180,7 @@ void CSteamProto::PollingThread(void*) NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser); delete request; - if (response == NULL || response->resultCode != HTTP_STATUS_OK) + if (response == NULL || response->resultCode != HTTP_CODE_OK) { if (response != NULL) CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response); @@ -233,7 +233,7 @@ void CSteamProto::PollingThread(void*) debugLog(_T("CSteamProto::PollingThread: %s (%d)"), error, response->resultCode); // token has expired - if (response->resultCode == HTTP_STATUS_UNAUTHORIZED) + if (response->resultCode == HTTP_CODE_UNAUTHORIZED) delSetting("TokenSecret"); // too low timeout? |