summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_xtraz.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 08:42:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 08:42:33 +0000
commitf9c9f7a27456f98ac84f27add1c2aea5bd99a35c (patch)
treedbe31bfa288511347da75aa03eff6d4b7af1206b /protocols/IcqOscarJ/src/icq_xtraz.cpp
parentddba4ede6b451d0cfcd0d32b5180fbd0689966bf (diff)
more HCONTACT
git-svn-id: http://svn.miranda-ng.org/main/trunk@8079 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_xtraz.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_xtraz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icq_xtraz.cpp b/protocols/IcqOscarJ/src/icq_xtraz.cpp
index 45ff2829fe..68bf447e3f 100644
--- a/protocols/IcqOscarJ/src/icq_xtraz.cpp
+++ b/protocols/IcqOscarJ/src/icq_xtraz.cpp
@@ -411,7 +411,7 @@ void CIcqProto::SendXtrazNotifyResponse(DWORD dwUin, DWORD dwMID, DWORD dwMID2,
char *szBody = (char*)_alloca(nBodyLen);
HCONTACT hContact = HContactFromUIN(dwUin, NULL);
- if (hContact != INVALID_HANDLE_VALUE && !CheckContactCapabilities(hContact, CAPF_XTRAZ)) {
+ if (hContact != (HCONTACT)INVALID_HANDLE_VALUE && !CheckContactCapabilities(hContact, CAPF_XTRAZ)) {
SAFE_FREE(&szResBody);
return; // Contact does not support xtraz, do not send anything
}