summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/EmLanProto/src')
-rw-r--r--protocols/EmLanProto/src/mlan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp
index 267c17dca3..39d33a7f91 100644
--- a/protocols/EmLanProto/src/mlan.cpp
+++ b/protocols/EmLanProto/src/mlan.cpp
@@ -428,7 +428,7 @@ void CMLan::RecvMessageUrl(CCSDATA* ccs)
ZeroMemory(&dbei,sizeof(dbei));
- if (!lstrcmpA(ccs->szProtoService, PSR_MESSAGE))
+ if (!mir_strcmp(ccs->szProtoService, PSR_MESSAGE))
dbei.eventType = EVENTTYPE_MESSAGE;
else
dbei.eventType = EVENTTYPE_URL;
@@ -438,7 +438,7 @@ void CMLan::RecvMessageUrl(CCSDATA* ccs)
dbei.timestamp = pre->timestamp;
dbei.flags = pre->flags&PREF_CREATEREAD?DBEF_READ:0;
dbei.cbBlob = mir_tstrlen(pre->szMessage)+1;
- if (!lstrcmpA(ccs->szProtoService, PSR_URL))
+ if (!mir_strcmp(ccs->szProtoService, PSR_URL))
{
dbei.cbBlob += 2+mir_tstrlen(pre->szMessage+dbei.cbBlob+1);
}