diff options
author | George Hazan <george.hazan@gmail.com> | 2013-05-09 13:55:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-05-09 13:55:21 +0000 |
commit | 61472e0fdc1fee81b75f7ffc22a82cb2541669ae (patch) | |
tree | 79251b3ef76ee9c48570d111151f151ec96cbb28 /protocols/Skype/src/skype_database.cpp | |
parent | 2ec975899563178477a9fdf54b821ff7eab027e1 (diff) |
fix for receiving messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@4607 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_database.cpp')
-rw-r--r-- | protocols/Skype/src/skype_database.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_database.cpp b/protocols/Skype/src/skype_database.cpp index bbc11cb385..2b6c6b1292 100644 --- a/protocols/Skype/src/skype_database.cpp +++ b/protocols/Skype/src/skype_database.cpp @@ -27,15 +27,13 @@ bool CSkypeProto::IsMessageInDB(HANDLE hContact, DWORD timestamp, SEBinary &guid HANDLE CSkypeProto::AddDBEvent(HANDLE hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob)
{
- DBEVENTINFO dbei = { 0 };
- dbei.cbSize = sizeof(dbei);
+ DBEVENTINFO dbei = { sizeof(dbei) };
dbei.szModule = this->m_szModuleName;
dbei.timestamp = timestamp;
dbei.eventType = type;
dbei.cbBlob = cbBlob;
dbei.pBlob = pBlob;
dbei.flags = flags;
-
return ::db_event_add(hContact, &dbei);
}
|