diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-09-18 19:33:25 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-09-18 19:33:25 +0000 |
commit | e506e72f7a67fead4275013012c1bd5c1fc5769d (patch) | |
tree | 3abf0b3c49263c0e46af3a01ec467c098aa0bdc7 /protocols | |
parent | 9f2cbcd46d6887cb28bfb2ffb9f927355069f809 (diff) |
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@15388 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Steam/src/steam_polling.cpp (renamed from protocols/Steam/src/steam_pooling.cpp) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_polling.cpp index 7a3a614aa9..1a50403fd3 100644 --- a/protocols/Steam/src/steam_pooling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -170,13 +170,12 @@ void CSteamProto::PollingThread(void*) ptrA umqId(getStringA("UMQID")); UINT32 messageId = getDword("MessageID", 0); - //PollApi::PollResult pollResult; int errors = 0; bool breaked = false; while (!isTerminated && !breaked && errors < POLLING_ERRORS_LIMIT) { PollRequest *request = new PollRequest(token, umqId, messageId, IdleSeconds()); - //request->nlc = m_pollingConnection; + request->nlc = m_pollingConnection; HttpResponse *response = request->Send(m_hNetlibUser); delete request; @@ -186,7 +185,8 @@ void CSteamProto::PollingThread(void*) } else { - JSONROOT root(response->pData); + ptrA body(mir_strdup(response->pData)); + JSONROOT root(body); if (root == NULL) { errors++; |