summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-13 14:14:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-13 14:14:35 +0300
commit00d71971d9cf831b991d391bb073dd846a15855f (patch)
treef121836446e42c395749d6e4ecdddb8d1aea72b6 /plugins/Dbx_mdbx/src/init.cpp
parent1723a03ef74caa86cbfde4144541afb92147395f (diff)
profile lock detection unbound from contact list services
Diffstat (limited to 'plugins/Dbx_mdbx/src/init.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/init.cpp b/plugins/Dbx_mdbx/src/init.cpp
index 3419fd6c78..6a85913bde 100644
--- a/plugins/Dbx_mdbx/src/init.cpp
+++ b/plugins/Dbx_mdbx/src/init.cpp
@@ -67,7 +67,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_DATABA
static int makeDatabase(const TCHAR *profile)
{
std::unique_ptr<CDbxMDBX> db(new CDbxMDBX(profile, 0));
- return (db->Map() == MDBX_SUCCESS) ? 0 : EGROKPRF_CANTREAD;
+ return db->Map();
}
// returns 0 if the given profile has a valid header