diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-28 13:13:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-28 13:13:05 +0000 |
commit | f3cdb7545b85a2c849ad4acf4dfbf1aaf526de6b (patch) | |
tree | 3d56bd83ddcb79373e868f0b9b0378472ffa1905 /plugins/Dbx_mmap_SA/src/security.cpp | |
parent | 8adf6be866f0c4dbc2689489b04a2aba243cb650 (diff) |
database created by dbx_mmap_sa must be opened by it
git-svn-id: http://svn.miranda-ng.org/main/trunk@1714 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/src/security.cpp')
-rw-r--r-- | plugins/Dbx_mmap_SA/src/security.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mmap_SA/src/security.cpp b/plugins/Dbx_mmap_SA/src/security.cpp index 8731e86f81..260ab11727 100644 --- a/plugins/Dbx_mmap_SA/src/security.cpp +++ b/plugins/Dbx_mmap_SA/src/security.cpp @@ -233,7 +233,7 @@ void CDdxMmapSA::WritePlainHeader() {
DWORD bytesWritten;
- memcpy(m_dbHeader.signature, &dbSignature, sizeof(m_dbHeader.signature));
+ memcpy(m_dbHeader.signature, &dbSignatureNonSecured, sizeof(m_dbHeader.signature));
SetFilePointer(m_hDbFile,0,NULL,FILE_BEGIN);
WriteFile(m_hDbFile,m_dbHeader.signature,sizeof(m_dbHeader.signature),&bytesWritten,NULL);
|