From a628ea1e2cdcb829e9cb88076ed165f16b39612b Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 17 Mar 2016 19:11:44 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@16493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/dbevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 01315da42a..c3b0cae200 100644 --- a/plugins/Dbx_mdb/src/dbevents.cpp +++ b/plugins/Dbx_mdb/src/dbevents.cpp @@ -322,7 +322,7 @@ STDMETHODIMP_(BOOL) CDbxMdb::MarkEventRead(MCONTACT contactID, MEVENT hDbEvent) { txn_ptr txn(m_pMdbEnv); - MDB_val key = { sizeof(MEVENT), &hDbEvent }, data; + MDB_val key = { sizeof(MEVENT), &hDbEvent }, data = { nDbe, nullptr }; MDB_CHECK(mdb_put(txn, m_dbEvents, &key, &data, MDB_RESERVE), -1); memcpy(data.mv_data, dbe, nDbe); -- cgit v1.2.3