diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-01 19:29:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-01 19:29:26 +0300 |
commit | 128341ef85a0f9daef7dce3653adf1011f3e6e06 (patch) | |
tree | 479b9ab1af161a2e8289f31eb5e874a6c35ddcdc /protocols/ICQ-WIM/src/poll.cpp | |
parent | 70b77d0c25f8138e30d78d3af7966711cff3b375 (diff) |
ICQ-WIM: code cleaning & optimization
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/poll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp index 6cd4575e13..db994cd0cf 100644 --- a/protocols/ICQ-WIM/src/poll.cpp +++ b/protocols/ICQ-WIM/src/poll.cpp @@ -281,7 +281,7 @@ void __cdecl CIcqProto::PollThread(void*) debugLogA("Polling thread started"); m_bFirstBos = true; - while (m_bOnline) { + while (m_bOnline && !m_fetchBaseURL.IsEmpty()) { CMStringA szUrl = m_fetchBaseURL; if (m_bFirstBos) szUrl.Append("&first=1"); |