summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbheaders.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-01 16:14:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-01 16:14:04 +0000
commit123cd471df4b1a88766dae1390badbdf25fd64c6 (patch)
tree737d375c86392441604cea20203b5331206205f5 /plugins/Db3x_mmap/src/dbheaders.cpp
parentf2dde06b1c6af73e4586f83ba602f0830498e52a (diff)
dbx_mmap not to open mmap_sa profiles at all
git-svn-id: http://svn.miranda-ng.org/main/trunk@7443 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbheaders.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbheaders.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/dbheaders.cpp b/plugins/Db3x_mmap/src/dbheaders.cpp
index f4ec4666c5..5d19daaf35 100644
--- a/plugins/Db3x_mmap/src/dbheaders.cpp
+++ b/plugins/Db3x_mmap/src/dbheaders.cpp
@@ -56,8 +56,7 @@ int CDb3Base::CheckDbHeaders()
{
if (memcmp(m_dbHeader.signature, &dbSignatureU, sizeof(m_dbHeader.signature)) &&
memcmp(m_dbHeader.signature, &dbSignatureE, sizeof(m_dbHeader.signature)) &&
- memcmp(m_dbHeader.signature, &dbSignatureIM, sizeof(m_dbHeader.signature)) &&
- memcmp(m_dbHeader.signature, &dbSignatureSA, sizeof(m_dbHeader.signature)))
+ memcmp(m_dbHeader.signature, &dbSignatureIM, sizeof(m_dbHeader.signature)))
return EGROKPRF_UNKHEADER;
if (m_dbHeader.version != DB_THIS_VERSION && m_dbHeader.version != DB_OLD_VERSION)