diff options
-rw-r--r-- | protocols/Steam/src/api/poll.h | 2 | ||||
-rw-r--r-- | protocols/Steam/src/steam_polling.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/api/poll.h b/protocols/Steam/src/api/poll.h index a196f35f1c..8dd795a4fa 100644 --- a/protocols/Steam/src/api/poll.h +++ b/protocols/Steam/src/api/poll.h @@ -8,7 +8,7 @@ public: HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Poll/v0001") { timeout = (STEAM_API_TIMEOUT + 5) * 1000; - flags |= NLHRF_PERSISTENT; + // flags |= NLHRF_PERSISTENT; CMStringA data; data.AppendFormat("access_token=%s&umqid=%s&message=%u&secidletime=%d§imeout=%d", diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index 526bf5f9ce..81a58d9846 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -177,7 +177,7 @@ void CSteamProto::PollingThread(void*) while (!isTerminated && !breaked && errors < errorsLimit) { PollRequest *request = new PollRequest(token, umqId, messageId, IdleSeconds()); - request->nlc = m_pollingConnection; + // request->nlc = m_pollingConnection; HttpResponse *response = request->Send(m_hNetlibUser); delete request; @@ -215,7 +215,7 @@ void CSteamProto::PollingThread(void*) json_delete(nroot); } - m_pollingConnection = response->nlc; + // m_pollingConnection = response->nlc; } /*else if (!lstrcmpi(error, _T("Not Logged On"))) // 'else' below will handle this error, we don't need this particular check right now { |