summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-19 09:48:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-19 09:48:52 +0000
commit03e6d34e4f99ca3d907b328cf8afd8b7b8152b69 (patch)
tree4f272d0790db9cc376bd52c28adce40bd942b474 /plugins
parent31ac373a9c9eaac6463c1190628189e2539fc9ce (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1036 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Db3x_mmap/dbcontacts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/dbcontacts.cpp b/plugins/Db3x_mmap/dbcontacts.cpp
index 8abdc02ebc..554fe7bd4e 100644
--- a/plugins/Db3x_mmap/dbcontacts.cpp
+++ b/plugins/Db3x_mmap/dbcontacts.cpp
@@ -215,10 +215,11 @@ STDMETHODIMP_(LONG) CDdxMmap::DeleteContact(HANDLE hContact)
STDMETHODIMP_(HANDLE) CDdxMmap::AddContact()
{
+ DWORD ofsNew;
log0("add contact");
{
mir_cslock lck(csDbAccess);
- DWORD ofsNew = CreateNewSpace(sizeof(DBContact));
+ ofsNew = CreateNewSpace(sizeof(DBContact));
DBContact dbc = { 0 };
dbc.signature = DBCONTACT_SIGNATURE;