diff options
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++; |