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.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp
index 81a58d9846..99f4828938 100644
--- a/protocols/Steam/src/steam_polling.cpp
+++ b/protocols/Steam/src/steam_polling.cpp
@@ -217,6 +217,10 @@ void CSteamProto::PollingThread(void*)
// m_pollingConnection = response->nlc;
}
+ else if (!lstrcmpi(error, _T("Timeout")))
+ {
+ // Do nothing as this is not necessarily an error
+ }
/*else if (!lstrcmpi(error, _T("Not Logged On"))) // 'else' below will handle this error, we don't need this particular check right now
{
if (!IsOnline())
@@ -229,7 +233,7 @@ void CSteamProto::PollingThread(void*)
breaked = true;
}*/
- else if (lstrcmpi(error, _T("Timeout")))
+ else
{
// something wrong
debugLog(_T("CSteamProto::PollingThread: %s (%d)"), error, response->resultCode);