summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-18 17:16:52 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-18 17:16:52 +0000
commitf731f9c55770195cb35c5fc51b59265301ecf9a3 (patch)
tree935720d10bbe5c196dd9aff7c1a2c046c7f9e865 /plugins/Dbx_mdb/src
parent254018800ee310d7b8eb3e17f1aea8e411fc7b28 (diff)
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@16504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src')
-rw-r--r--plugins/Dbx_mdb/src/dbcontacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbcontacts.cpp b/plugins/Dbx_mdb/src/dbcontacts.cpp
index 076890fe6d..411f93140f 100644
--- a/plugins/Dbx_mdb/src/dbcontacts.cpp
+++ b/plugins/Dbx_mdb/src/dbcontacts.cpp
@@ -116,7 +116,7 @@ STDMETHODIMP_(LONG) CDbxMdb::DeleteContact(MCONTACT contactID)
key.mv_size = sizeof(keyS); key.mv_data = &keyS;
- if (mdb_cursor_get(cursor, &key, &data, MDB_SET_RANGE))
+ if (mdb_cursor_get(cursor, &key, &data, MDB_SET_RANGE) == MDB_SUCCESS)
{
do
{