diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
commit | 159b565b390687258ee65a3b66596e118752063c (patch) | |
tree | 91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/TrafficCounter/src | |
parent | 7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff) |
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter/src')
-rw-r--r-- | plugins/TrafficCounter/src/TrafficCounter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp index 724dba4b04..ab630faea8 100644 --- a/plugins/TrafficCounter/src/TrafficCounter.cpp +++ b/plugins/TrafficCounter/src/TrafficCounter.cpp @@ -357,7 +357,7 @@ int TrafficRecv(WPARAM wParam,LPARAM lParam) if (nln->result > 0)
for (i = 0; i < NumberOfAccounts; i++)
- if (!strcmp(ProtoList[i].name, nlu->szSettingsModule))
+ if (!mir_strcmp(ProtoList[i].name, nlu->szSettingsModule))
InterlockedExchangeAdd(&ProtoList[i].AllStatistics[ProtoList[i].NumberOfRecords-1].Incoming, nln->result);
return 0;
}
@@ -370,7 +370,7 @@ int TrafficSend(WPARAM wParam,LPARAM lParam) if (nln->result > 0)
for (i = 0; i < NumberOfAccounts; i++)
- if (!strcmp(ProtoList[i].name, nlu->szSettingsModule))
+ if (!mir_strcmp(ProtoList[i].name, nlu->szSettingsModule))
InterlockedExchangeAdd(&ProtoList[i].AllStatistics[ProtoList[i].NumberOfRecords-1].Outgoing, nln->result);
return 0;
}
@@ -1225,7 +1225,7 @@ int ProtocolAckHook(WPARAM wParam,LPARAM lParam) for (i = 0; i < NumberOfAccounts; i++)
{
if (!ProtoList[i].name) continue;
- if (!strcmp(ProtoList[i].name, pAck->szModule))
+ if (!mir_strcmp(ProtoList[i].name, pAck->szModule))
{
ProtocolIsOffLine(i);
break;
@@ -1237,7 +1237,7 @@ int ProtocolAckHook(WPARAM wParam,LPARAM lParam) if ((pAck->lParam >= ID_STATUS_ONLINE) && (pAck->lParam <= ID_STATUS_OUTTOLUNCH))
{
for (i = 0; i < NumberOfAccounts; i++)
- if (!strcmp(ProtoList[i].name, pAck->szModule))
+ if (!mir_strcmp(ProtoList[i].name, pAck->szModule))
{
ProtocolIsOnLine(i);
break;
@@ -1313,7 +1313,7 @@ int OnAccountsListChange(WPARAM wParam, LPARAM lParam) case PRAC_CHANGED:
case PRAC_CHECKED:
for (i = 0; i < NumberOfAccounts; i++)
- if (!strcmp(acc->szModuleName, ProtoList[i].name))
+ if (!mir_strcmp(acc->szModuleName, ProtoList[i].name))
ProtoList[i].Enabled = acc->bIsEnabled;
break;
}
|