diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-27 11:09:45 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-27 11:09:45 +0000 |
commit | cef1c5304d49ccb5a9ab00e2b6097441a79e271b (patch) | |
tree | 8a87e2ed53628f4648f860a132cf3894b5a4660d /plugins/Dbx_mdb/src/dbevents.cpp | |
parent | 95bef244a777065c7d587bd05bb36a17c0eaf836 (diff) |
dbx_lmdb: encryption settings to other dbi
git-svn-id: http://svn.miranda-ng.org/main/trunk@16356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbevents.cpp')
-rw-r--r-- | plugins/Dbx_mdb/src/dbevents.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Dbx_mdb/src/dbevents.cpp b/plugins/Dbx_mdb/src/dbevents.cpp index 50b5f2a8b8..bee0cffcc8 100644 --- a/plugins/Dbx_mdb/src/dbevents.cpp +++ b/plugins/Dbx_mdb/src/dbevents.cpp @@ -298,7 +298,8 @@ STDMETHODIMP_(BOOL) CDbxMdb::MarkEventRead(MCONTACT contactID, MEVENT hDbEvent) STDMETHODIMP_(MCONTACT) CDbxMdb::GetEventContact(MEVENT hDbEvent)
{
- if (hDbEvent == 0) return INVALID_CONTACT_ID;
+ if (hDbEvent == 0)
+ return INVALID_CONTACT_ID;
mir_cslock lck(m_csDbAccess);
txn_ptr_ro txn(m_txn);
@@ -355,7 +356,8 @@ STDMETHODIMP_(MEVENT) CDbxMdb::FindLastEvent(MCONTACT contactID) STDMETHODIMP_(MEVENT) CDbxMdb::FindNextEvent(MCONTACT contactID, MEVENT hDbEvent)
{
- if (hDbEvent == 0) return m_evLast = 0;
+ if (hDbEvent == 0)
+ return m_evLast = 0;
MDB_val data;
DWORD ts;
@@ -388,7 +390,8 @@ STDMETHODIMP_(MEVENT) CDbxMdb::FindNextEvent(MCONTACT contactID, MEVENT hDbEvent STDMETHODIMP_(MEVENT) CDbxMdb::FindPrevEvent(MCONTACT contactID, MEVENT hDbEvent)
{
- if (hDbEvent == 0) return m_evLast = 0;
+ if (hDbEvent == 0)
+ return m_evLast = 0;
MDB_val data;
DWORD ts;
|