diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-04-05 17:16:32 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-04-05 17:16:32 +0000 |
commit | c39f6421ba871c4ffa501ef83bf2a8eb93c44a01 (patch) | |
tree | 7d37c81ad1cb32410478efc3f7f809e5742d86f0 /protocols | |
parent | b665a90f50f09435aef5bc3b5b9da710e4558690 (diff) |
Fixed old icq authorization dialog bug. (fixes #271)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp index 690e5011dc..29cc83d99a 100644 --- a/protocols/IcqOscarJ/src/icq_proto.cpp +++ b/protocols/IcqOscarJ/src/icq_proto.cpp @@ -379,7 +379,7 @@ HANDLE __cdecl CIcqProto::AddToListByEvent( int flags, int iContact, HANDLE hDbE dbei.pBlob = (PBYTE)_alloca(dbei.cbBlob + 1);
dbei.pBlob[dbei.cbBlob] = '\0';
- if ( db_event_get(hDbEvent, &dbei))
+ if (db_event_get(hDbEvent, &dbei))
return 0; // failed to get event
if (strcmpnull(dbei.szModule, m_szModuleName))
@@ -411,8 +411,8 @@ HANDLE __cdecl CIcqProto::AddToListByEvent( int flags, int iContact, HANDLE hDbE case EVENTTYPE_AUTHREQUEST:
case EVENTTYPE_ADDED:
- if ( getContactUid( DbGetAuthEventContact(&dbei), &uin, &uid))
- return 0;
+ if (!getContactUid(DbGetAuthEventContact(&dbei), &uin, &uid))
+ break;
default:
return 0;
|