summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_pooling.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-15 11:20:05 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-15 11:20:05 +0000
commit641c67a9d552b07664308c2ae3384cc95a75a2d0 (patch)
treeb9e29c5bf201211065b912bb2048143152c82201 /protocols/Steam/src/steam_pooling.cpp
parent108bb117b2a796e8a99d7add61f304730b9ecadb (diff)
Steam:
- added support for templated url - fixed broken login - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12408 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, 2 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp
index 7097cc0dff..1bf9f8314e 100644
--- a/protocols/Steam/src/steam_pooling.cpp
+++ b/protocols/Steam/src/steam_pooling.cpp
@@ -178,10 +178,8 @@ void CSteamProto::PollingThread(void*)
while (!isTerminated && !breaked && errors < POLLING_ERRORS_LIMIT)
{
SteamWebApi::PollRequest *request = new SteamWebApi::PollRequest(token, umqId, messageId, IdleSeconds());
- debugLogA("CSteamProto::PollingThread: %s", request->szUrl);
- request->szUrl = (char*)request->url.c_str();
- request->nlc = m_pollingConnection;
- NETLIBHTTPREQUEST *response = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)m_hNetlibUser, (LPARAM)request);
+ //request->nlc = m_pollingConnection;
+ NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser);
delete request;
if (response == NULL || response->resultCode != HTTP_STATUS_OK)