diff options
Diffstat (limited to 'plugins/CrashDumper/src')
| -rw-r--r-- | plugins/CrashDumper/src/dumper.cpp | 8 | ||||
| -rw-r--r-- | plugins/CrashDumper/src/upload.cpp | 4 | 
2 files changed, 6 insertions, 6 deletions
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;
  }
  | 
