diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-18 17:16:52 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-18 17:16:52 +0000 |
commit | f731f9c55770195cb35c5fc51b59265301ecf9a3 (patch) | |
tree | 935720d10bbe5c196dd9aff7c1a2c046c7f9e865 /plugins/Dbx_mdb | |
parent | 254018800ee310d7b8eb3e17f1aea8e411fc7b28 (diff) |
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@16504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb')
-rw-r--r-- | plugins/Dbx_mdb/src/dbcontacts.cpp | 2 |
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
{
|