diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-17 14:14:34 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-17 14:14:34 +0000 |
commit | 6de39a47bb4ce079ce165f89229142fce391517c (patch) | |
tree | 094ff149d43a8a969c758aee77ea85113b7f0aff /plugins/Dbx_mdb | |
parent | c54166b343d1bccb95e9e66858b11e789298dc7b (diff) |
ops
git-svn-id: http://svn.miranda-ng.org/main/trunk@16490 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb')
-rw-r--r-- | plugins/Dbx_mdb/src/dbintf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbintf.cpp b/plugins/Dbx_mdb/src/dbintf.cpp index acf6645b5b..36f0ef6037 100644 --- a/plugins/Dbx_mdb/src/dbintf.cpp +++ b/plugins/Dbx_mdb/src/dbintf.cpp @@ -134,7 +134,7 @@ int CDbxMdb::Load(bool bSkipInit) mdb_cursor_open(m_txn, m_dbModules, &m_curModules);
mdb_cursor_open(m_txn, m_dbContacts, &m_curContacts);
- if (mdb_cursor_get(m_curContacts, &key, &val, MDB_LAST))
+ if (mdb_cursor_get(m_curContacts, &key, &val, MDB_LAST) == MDB_SUCCESS)
m_dwMaxContactId = *(DWORD*)key.mv_data + 1;
mdb_txn_reset(m_txn);
|