summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_database.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-28 19:56:11 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-28 19:56:11 +0000
commit1137908b0395c613b2827428fd846242eaddb999 (patch)
tree3b7d70ea4f780a23000ac8a3d4f46138871decbb /protocols/Skype/src/skype_database.cpp
parentf769a165fd3bb4f68d8cdee160ebd8f003fcc0e1 (diff)
- fixed empty "<unknown contact>" chat rooms
- fixed crash on profile update git-svn-id: http://svn.miranda-ng.org/main/trunk@4562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_database.cpp')
-rw-r--r--protocols/Skype/src/skype_database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_database.cpp b/protocols/Skype/src/skype_database.cpp
index 96d09f9447..d94528c5f4 100644
--- a/protocols/Skype/src/skype_database.cpp
+++ b/protocols/Skype/src/skype_database.cpp
@@ -124,7 +124,7 @@ void CSkypeProto::RaiseMessageSendedEvent(HANDLE hContact, DWORD timestamp, cons
::strcpy(msg, message);
msg[msgLen - 1] = 0;
- ::memcpy((char *)&msg[msgLen], guid, 32);
+ ::memcpy((char *)&msg[msgLen], guid, guidLen);
DWORD flags = DBEF_UTF | DBEF_SENT;
if ( !isUnreaded)