summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_iq.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iq.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_iq.cpp b/protocols/JabberG/src/jabber_iq.cpp
index d0084b7125..5669757ee9 100644
--- a/protocols/JabberG/src/jabber_iq.cpp
+++ b/protocols/JabberG/src/jabber_iq.cpp
@@ -245,9 +245,9 @@ bool CJabberIqManager::HandleIq(int nIqId, HXML pNode)
return false;
int nIqType = JABBER_IQ_TYPE_FAIL;
- if (!_tcsicmp(szType, _T("result")))
+ if (!mir_tstrcmpi(szType, _T("result")))
nIqType = JABBER_IQ_TYPE_RESULT;
- else if (!_tcsicmp(szType, _T("error")))
+ else if (!mir_tstrcmpi(szType, _T("error")))
nIqType = JABBER_IQ_TYPE_ERROR;
else
return false;
@@ -297,9 +297,9 @@ bool CJabberIqManager::HandleIqPermanent(HXML pNode)
CJabberIqInfo iqInfo;
iqInfo.m_nIqType = JABBER_IQ_TYPE_FAIL;
- if (!_tcsicmp(szType, _T("get")))
+ if (!mir_tstrcmpi(szType, _T("get")))
iqInfo.m_nIqType = JABBER_IQ_TYPE_GET;
- else if (!_tcsicmp(szType, _T("set")))
+ else if (!mir_tstrcmpi(szType, _T("set")))
iqInfo.m_nIqType = JABBER_IQ_TYPE_SET;
else
return FALSE;