summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_pooling.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-08-02 20:42:43 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-08-02 20:42:43 +0000
commit419e301b09de1935ab61f9a28363bb375fc7e208 (patch)
tree1f94bd57ff7482b4b11c5a206bbad6bbd52531f0 /protocols/Steam/src/steam_pooling.cpp
parent32a70bf6533a4207324e0443463a3c12ece03672 (diff)
Steam:
- fixed bug with default group creation - added HttpResponse - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_pooling.cpp')
-rw-r--r--protocols/Steam/src/steam_pooling.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp
index 1233c9a7a0..0c1f50e9fd 100644
--- a/protocols/Steam/src/steam_pooling.cpp
+++ b/protocols/Steam/src/steam_pooling.cpp
@@ -177,13 +177,13 @@ void CSteamProto::PollingThread(void*)
{
PollRequest *request = new PollRequest(token, umqId, messageId, IdleSeconds());
//request->nlc = m_pollingConnection;
- NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser);
+ HttpResponse *response = request->Send(m_hNetlibUser);
delete request;
if (response == NULL || response->resultCode != HTTP_CODE_OK)
{
if (response != NULL)
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response);
+ delete response;
errors++;
continue;
@@ -245,7 +245,7 @@ void CSteamProto::PollingThread(void*)
breaked = true;
}
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response);
+ delete response;
}
setDword("MessageID", messageId);