diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-17 19:11:44 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-17 19:11:44 +0000 |
commit | a628ea1e2cdcb829e9cb88076ed165f16b39612b (patch) | |
tree | d8008686183959d515d4603b92283b631818a6fc /plugins | |
parent | b684f05959cfcbf2c6fa25b5258f3378196296b8 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@16493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Dbx_mdb/src/dbevents.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|