From cef1c5304d49ccb5a9ab00e2b6097441a79e271b Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 27 Feb 2016 11:09:45 +0000 Subject: dbx_lmdb: encryption settings to other dbi git-svn-id: http://svn.miranda-ng.org/main/trunk@16356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/dbevents.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/Dbx_mdb/src/dbevents.cpp') 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; -- cgit v1.2.3