diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-23 19:23:39 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-23 19:23:39 +0000 |
commit | 037511a364629d200c22cd08e0fa4922f2429bfc (patch) | |
tree | 510680699b0e8eb046b771b9de350b20fd0e7fa8 /protocols/SkypeWeb/src/skype_polling.cpp | |
parent | a8dfca9c4a079c6d9706fa819b8993a2df5d7270 (diff) |
SkypeWeb: code optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@15429 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_polling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp index 423fb399a9..59c167b9cc 100644 --- a/protocols/SkypeWeb/src/skype_polling.cpp +++ b/protocols/SkypeWeb/src/skype_polling.cpp @@ -24,7 +24,7 @@ void CSkypeProto::PollingThread(void*) int nErrors = 0;
while (!m_bThreadsTerminated)
{
- WaitForSingleObject(m_hPollingEvent, INFINITE);
+ m_hPollingEvent.Wait();
nErrors = 0;
while ((nErrors < POLLING_ERRORS_LIMIT) && m_iStatus != ID_STATUS_OFFLINE)
|