diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-25 19:54:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-25 19:54:47 +0000 |
commit | e4c1b5ae00efaa470a4b41953656ff059d0fd87d (patch) | |
tree | 1dd416290ae1b9d58ac1da84b8462fcf8e3506da /plugins/Db3x_mmap/src/dbheaders.cpp | |
parent | 1b44de1b140c2155dde5c42172e4d9df2d43e843 (diff) |
unique signature for the new mmap profile format
git-svn-id: http://svn.miranda-ng.org/main/trunk@6983 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbheaders.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbheaders.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbheaders.cpp b/plugins/Db3x_mmap/src/dbheaders.cpp index 2a703a97d3..5fe77eb0ba 100644 --- a/plugins/Db3x_mmap/src/dbheaders.cpp +++ b/plugins/Db3x_mmap/src/dbheaders.cpp @@ -54,7 +54,8 @@ int CDb3Base::CreateDbHeaders(const DBSignature& _sign) int CDb3Base::CheckDbHeaders()
{
- if (memcmp(m_dbHeader.signature, &dbSignature, sizeof(m_dbHeader.signature)) &&
+ if (memcmp(m_dbHeader.signature, &dbSignature, sizeof(m_dbHeader.signature)) &&
+ memcmp(m_dbHeader.signature, &dbSignatureIM, sizeof(m_dbHeader.signature)) &&
memcmp(m_dbHeader.signature, &dbSignatureSA, sizeof(m_dbHeader.signature)))
return EGROKPRF_UNKHEADER;
|