summaryrefslogtreecommitdiff
path: root/src/modules/protocols/protodir.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-06 13:58:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-06 13:58:20 +0000
commit46a53191c1ad11a41c948594e972568e62d155b4 (patch)
tree7e57e6f7093fb0de766fe13a933d2f9231433e4d /src/modules/protocols/protodir.cpp
parent1fe5acae909ea64a1de9ac9f58cae5a3c2d3ad1f (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/protocols/protodir.cpp')
-rw-r--r--src/modules/protocols/protodir.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/protocols/protodir.cpp b/src/modules/protocols/protodir.cpp
index bb024d06c4..2311e1a1e2 100644
--- a/src/modules/protocols/protodir.cpp
+++ b/src/modules/protocols/protodir.cpp
@@ -75,7 +75,7 @@ int contactCacheCompare(void * a, void * b)
int rc=0;
// same protocol?
rc = strcmp(x->proto, y->proto);
- if ( rc == 0 ) {
+ if ( rc == 0 ) {
// same id? id's might be missing
if ( x->id && y->id ) rc = strcmp(x->id, y->id);
}
@@ -137,7 +137,7 @@ void contactDir_Contact_Add(contactDir * cd, HANDLE hContact, char * proto, char
{
// if a contact is gonna exist anywhere it's going to be in the ->protoCache which has a key of hContact
// if id is not null then the contact should be indexed via the ->contactCache instead
- if ( id == NULL ) {
+ if ( id == NULL ) {
int index = 0;
contactEntry e;
e.hContact=hContact;
@@ -184,7 +184,7 @@ void contactDir_Proto_Walk(contactDir * cd)
dbvProto.pszVal = (char *) &buf;
dbvProto.cchVal = SIZEOF(buf);
// figure out what hContact/Protocol/p is
- if ( CallService(MS_DB_CONTACT_GETSETTINGSTATIC,(WPARAM)hContact, (LPARAM)&gsProto) == 0 ) {
+ if ( CallService(MS_DB_CONTACT_GETSETTINGSTATIC,(WPARAM)hContact, (LPARAM)&gsProto) == 0 ) {
contactDir_Contact_Add(cd, hContact, buf, NULL);
}
// find next