summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/dbmodulechain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdb/src/dbmodulechain.cpp')
-rw-r--r--plugins/Dbx_mdb/src/dbmodulechain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbmodulechain.cpp b/plugins/Dbx_mdb/src/dbmodulechain.cpp
index a42ab0b221..9342ea3cb1 100644
--- a/plugins/Dbx_mdb/src/dbmodulechain.cpp
+++ b/plugins/Dbx_mdb/src/dbmodulechain.cpp
@@ -103,7 +103,7 @@ DWORD CDbxMdb::GetModuleNameOfs(const char *szName)
for (;; Remap()) {
txn_ptr trnlck(m_pMdbEnv);
mdb_open(trnlck, "modules", MDB_INTEGERKEY, &m_dbModules);
- mdb_put(trnlck, m_dbModules, &key, &data, 0);
+ MDB_CHECK(mdb_put(trnlck, m_dbModules, &key, &data, 0), -1);
if (trnlck.commit())
break;
}