summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_pooling.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-08 22:57:21 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-08 22:57:21 +0000
commit13eb656152eb83e6b246293da72294ce22c6cc48 (patch)
tree521e224e1efe33c3cfd1a585b8e060615863d521 /protocols/Steam/src/steam_pooling.cpp
parentd60c379a9dcc439316b37aa135ed7c009a0c19f8 (diff)
Steam: Support for sending to server how long are we idle
git-svn-id: http://svn.miranda-ng.org/main/trunk@11290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_pooling.cpp')
-rw-r--r--protocols/Steam/src/steam_pooling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp
index 41adf28304..ff21a8e9c2 100644
--- a/protocols/Steam/src/steam_pooling.cpp
+++ b/protocols/Steam/src/steam_pooling.cpp
@@ -177,7 +177,7 @@ void CSteamProto::PollingThread(void*)
bool breaked = false;
while (!isTerminated && !breaked && errors < POLLING_ERRORS_LIMIT)
{
- SteamWebApi::PollRequest *request = new SteamWebApi::PollRequest(token, umqId, messageId);
+ 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;