From f731f9c55770195cb35c5fc51b59265301ecf9a3 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 18 Mar 2016 17:16:52 +0000 Subject: oops git-svn-id: http://svn.miranda-ng.org/main/trunk@16504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/dbcontacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_mdb/src') 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 { -- cgit v1.2.3