summaryrefslogtreecommitdiff
path: root/plugins/Import
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
commit8c5cf9634f560f7dd3976d762573071d9fca31b3 (patch)
treeb313623e6ba187922ce2a8328b1d48b8a9b37b7a /plugins/Import
parentbef8ac146a1f276261ff617fe0f1086bf2f3c85d (diff)
small code warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Import')
-rw-r--r--plugins/Import/src/import.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp
index e17eb4fbce..f220b3b6bc 100644
--- a/plugins/Import/src/import.cpp
+++ b/plugins/Import/src/import.cpp
@@ -64,13 +64,13 @@ static void mySet(HANDLE hContact, const char *module, const char *var, DBVARIAN
/////////////////////////////////////////////////////////////////////////////////////////
-static HANDLE HContactFromNumericID(char* szProto, char* pszSetting, DWORD dwID)
+static HANDLE HContactFromNumericID(char* pszProtoName, char* pszSetting, DWORD dwID)
{
HANDLE hContact = dstDb->FindFirstContact();
while (hContact != NULL) {
- if ( db_get_dw(hContact, szProto, pszSetting, 0) == dwID) {
+ if ( db_get_dw(hContact, pszProtoName, pszSetting, 0) == dwID) {
char* szProto = GetContactProto(hContact);
- if (szProto != NULL && !lstrcmpA(szProto, szProto))
+ if (szProto != NULL && !lstrcmpA(szProto, pszProtoName))
return hContact;
}
hContact = dstDb->FindNextContact(hContact);
@@ -78,13 +78,13 @@ static HANDLE HContactFromNumericID(char* szProto, char* pszSetting, DWORD dwID)
return INVALID_HANDLE_VALUE;
}
-static HANDLE HContactFromID(char* szProto, char* pszSetting, TCHAR* pwszID)
+static HANDLE HContactFromID(char* pszProtoName, char* pszSetting, TCHAR* pwszID)
{
HANDLE hContact = dstDb->FindFirstContact();
while (hContact != NULL) {
char* szProto = GetContactProto(hContact);
- if ( !lstrcmpA(szProto, szProto)) {
- ptrW id( db_get_tsa(hContact, szProto, pszSetting));
+ if ( !lstrcmpA(szProto, pszProtoName)) {
+ ptrW id( db_get_tsa(hContact, pszProtoName, pszSetting));
if ( !lstrcmp(pwszID, id))
return hContact;
}