summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index cd85c2db04..6350b40c8c 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -593,9 +593,9 @@ INT_PTR CSkypeProto::ParseSkypeUriService(WPARAM, LPARAM lParam)
INT_PTR CSkypeProto::GlobalParseSkypeUriService(WPARAM wParam, LPARAM lParam)
{
mir_cslock lck(accountsLock);
- for (int i = 0; i < Accounts.getCount(); i++)
- if (Accounts[i]->IsOnline())
- return Accounts[i]->ParseSkypeUriService(wParam, lParam);
+ for (auto &it : Accounts)
+ if (it->IsOnline())
+ return it->ParseSkypeUriService(wParam, lParam);
return 1;
}