summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-12-19 14:33:24 +0000
committerRobert Pösel <robyer@seznam.cz>2015-12-19 14:33:24 +0000
commita094253430be0bce085860beeb55e457f4a24175 (patch)
tree504acf48fcd8a2f7ca33f9208c612ee8a10d3363
parent72081f42fdffee1ebca970020d6cb573cf33aff8 (diff)
Steam: Fix handling errors in PollingThread processing (broken in r15373)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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);