From abd426c8667985d3eac705b2e434e755cbf106da Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 26 Apr 2013 22:19:12 +0000 Subject: fixed message hystory sync git-svn-id: http://svn.miranda-ng.org/main/trunk@4546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Skype/src/skype_database.cpp') diff --git a/protocols/Skype/src/skype_database.cpp b/protocols/Skype/src/skype_database.cpp index 258b629781..5361ada67d 100644 --- a/protocols/Skype/src/skype_database.cpp +++ b/protocols/Skype/src/skype_database.cpp @@ -21,7 +21,7 @@ bool CSkypeProto::IsMessageInDB(HANDLE hContact, DWORD timestamp, const char* gu int sendFlag = dbei.flags & DBEF_SENT; if (dbei.eventType == EVENTTYPE_MESSAGE && sendFlag == flag) { - if (::memcmp(&dbei.pBlob[dbei.cbBlob], guid, 32) == 0) + if (::memcmp(&dbei.pBlob[dbei.cbBlob - 32], guid, 32) == 0) { ::mir_free(dbei.pBlob); result = true; -- cgit v1.2.3