summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_polling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_polling.cpp')
-rw-r--r--protocols/Steam/src/steam_polling.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp
index e812e8e87f..b5d27b9c37 100644
--- a/protocols/Steam/src/steam_polling.cpp
+++ b/protocols/Steam/src/steam_polling.cpp
@@ -1,7 +1,5 @@
#include "stdafx.h"
-#define POLLING_ERRORS_LIMIT 5
-
void CSteamProto::ParsePollData(const JSONNode &data)
{
std::string steamIds;
@@ -221,7 +219,7 @@ void CSteamProto::PollingThread(void*)
PollParam param;
param.errors = 0;
- param.errorsLimit = getByte("PollingErrorsLimit", POLLING_ERRORS_LIMIT);
+ param.errorsLimit = getByte("PollingErrorsLimit", STEAM_API_POLLING_ERRORS_LIMIT);
while (IsOnline() && param.errors < param.errorsLimit) {
// request->nlc = m_pollingConnection;
ptrA umqId(getStringA("UMQID"));