From 159b565b390687258ee65a3b66596e118752063c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:33:13 +0000 Subject: replace strcmp to mir_strcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/dumper.cpp | 8 ++++---- plugins/CrashDumper/src/upload.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/CrashDumper') diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp index 5b7a879e02..6891a41e62 100644 --- a/plugins/CrashDumper/src/dumper.cpp +++ b/plugins/CrashDumper/src/dumper.cpp @@ -139,8 +139,8 @@ void GetLinkedModulesInfo(TCHAR *moduleName, CMString &buffer) ULONG* funcAddr = (ULONG*)ImageRvaToVa(nthdrs, dllAddr, exportData->AddressOfNames, NULL); for (unsigned i = 0; i < exportData->NumberOfNames && !found; ++i) { char* funcName = (char*)ImageRvaToVa(nthdrs, dllAddr, funcAddr[i], NULL); - found = strcmp(funcName, "MirandaPluginInfoEx") == 0 || strcmp(funcName, "MirandaPluginInfo") == 0; - if (strcmp(funcName, "DatabasePluginInfo") == 0) { + found = mir_strcmp(funcName, "MirandaPluginInfoEx") == 0 || mir_strcmp(funcName, "MirandaPluginInfo") == 0; + if (mir_strcmp(funcName, "DatabasePluginInfo") == 0) { buffer.Append(TEXT(" This dll is a Miranda database plugin, another database is active right now\r\n")); found = true; } @@ -319,7 +319,7 @@ static void GetProtocolStrings(CMString& buffer) for (j = 0; j < accCount; j++) { for (i = 0; i < protoCountMy; i++) - if (!strcmp(protoListMy[i], accList[j]->szProtoName)) + if (!mir_strcmp(protoListMy[i], accList[j]->szProtoName)) break; if (i == protoCountMy) @@ -331,7 +331,7 @@ static void GetProtocolStrings(CMString& buffer) for (j = 0; j < accCount; j++) for (i = 0; i < protoCountMy; i++) - if (!strcmp(protoListMy[i], accList[j]->szProtoName)) { + if (!mir_strcmp(protoListMy[i], accList[j]->szProtoName)) { protos[i].nloaded = accList[j]->bDynDisabled != 0; if (IsAccountEnabled(accList[j])) ++protos[i].countse; diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp index 2413b92367..f375447bab 100644 --- a/plugins/CrashDumper/src/upload.cpp +++ b/plugins/CrashDumper/src/upload.cpp @@ -157,7 +157,7 @@ bool InternetDownloadFile(const char *szUrl, VerTrnsfr* szReq) // get the url for the new location and save it to szInfo // look for the reply header "Location" for (i = 0; i < nlhrReply->headersCount; i++) { - if (!strcmp(nlhrReply->headers[i].szName, "Location")) { + if (!mir_strcmp(nlhrReply->headers[i].szName, "Location")) { size_t rlen = 0; if (nlhrReply->headers[i].szValue[0] == '/') { const char* szPath; @@ -250,5 +250,5 @@ bool ProcessVIHash(bool store) if (VIHash == NULL) return false; - return strcmp(hashstr, VIHash) == 0; + return mir_strcmp(hashstr, VIHash) == 0; } -- cgit v1.2.3