summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/db.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-14 15:40:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-14 15:40:28 +0000
commit5049950f23d8a84b1bb286cbc6bf1ab3e6944fb0 (patch)
tree5356966724f7f66334bf89690dc36618cb5dd711 /protocols/GTalkExt/src/db.cpp
parentd6b7f083ef11b88282290370988aa7cb60a53345 (diff)
crazy leaky piece of junk eliminated
git-svn-id: http://svn.miranda-ng.org/main/trunk@4027 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/db.cpp')
-rw-r--r--protocols/GTalkExt/src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/GTalkExt/src/db.cpp b/protocols/GTalkExt/src/db.cpp
index 27290afafb..dcdde85451 100644
--- a/protocols/GTalkExt/src/db.cpp
+++ b/protocols/GTalkExt/src/db.cpp
@@ -91,7 +91,7 @@ void RenewPseudocontactHandles()
HANDLE hContact = db_find_first();
while (hContact) {
- if (DBGetContactSettingByte(hContact, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0)) {
+ if (db_get_b(hContact, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0)) {
LPCSTR proto = (LPCSTR)GetContactProto(hContact);
DBWriteContactSettingDword(0, proto, PSEUDOCONTACT_LINK, (DWORD)hContact);
}