summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-16 14:03:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-16 14:03:24 +0000
commit8bd2456f654ef5eea44fcf4ad6ce5f7107f7d829 (patch)
tree8ae03049734c96a5feba398f5c142d9a4213d640 /protocols/AimOscar/src
parentc3908b9c6d53a6aef5e25975d3b336974e6dd610 (diff)
IsStatusConnecting() - useful macro
git-svn-id: http://svn.miranda-ng.org/main/trunk@12860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src')
-rw-r--r--protocols/AimOscar/src/links.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/links.cpp b/protocols/AimOscar/src/links.cpp
index b1c954d413..12f69bd9fc 100644
--- a/protocols/AimOscar/src/links.cpp
+++ b/protocols/AimOscar/src/links.cpp
@@ -77,7 +77,7 @@ static INT_PTR ServiceParseAimLink(WPARAM,LPARAM lParam)
CAimProto *proto = &g_Instances[0];
for (int i = 0; i < g_Instances.getCount(); ++i)
{
- if (g_Instances[i].m_iStatus != ID_STATUS_OFFLINE && g_Instances[i].m_iStatus != ID_STATUS_CONNECTING)
+ if (g_Instances[i].m_iStatus != ID_STATUS_OFFLINE && !IsStatusConnecting(g_Instances[i].m_iStatus))
{
proto = &g_Instances[i];
break;