summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/poll.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-01 19:29:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-01 19:29:26 +0300
commit128341ef85a0f9daef7dce3653adf1011f3e6e06 (patch)
tree479b9ab1af161a2e8289f31eb5e874a6c35ddcdc /protocols/ICQ-WIM/src/poll.cpp
parent70b77d0c25f8138e30d78d3af7966711cff3b375 (diff)
ICQ-WIM: code cleaning & optimization
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp2
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");