diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-15 12:12:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-15 12:12:59 +0000 |
commit | 21a1bd3567e3c894b8e9de69cd1f52898c5b5c92 (patch) | |
tree | 58aa724e42c19bf90aef68a63d052cf5b5979302 /src/modules/database | |
parent | cfea373ee4ec40a6dc4b59ac8a6d221479cb5bd0 (diff) |
fix for the wrong return value type
git-svn-id: http://svn.miranda-ng.org/main/trunk@9805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database')
-rw-r--r-- | src/modules/database/dbintf.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/database/dbintf.cpp b/src/modules/database/dbintf.cpp index 322355f2c4..6a3c332ed4 100644 --- a/src/modules/database/dbintf.cpp +++ b/src/modules/database/dbintf.cpp @@ -57,7 +57,9 @@ static INT_PTR srvDeleteContact(WPARAM wParam, LPARAM) static INT_PTR srvAddContact(WPARAM wParam, LPARAM)
{
- return (currDb) ? (INT_PTR)currDb->AddContact() : 0;
+ MCONTACT hNew = (currDb) ? currDb->AddContact() : 0;
+ Netlib_Logf(NULL, "New contact created: %d", hNew);
+ return hNew;
}
static INT_PTR srvIsDbContact(WPARAM wParam, LPARAM)
|