diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-30 11:42:38 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-30 11:42:38 +0000 |
commit | b03e0c7a4c064ef4a6a4a8c416980216083e605b (patch) | |
tree | f07a0306db2033f62ecdde13503614ad1b24b9ce /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | efc82fd4b41a1c701752e2f1aeb4e645421f287a (diff) |
SkypeWeb: Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13908 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 674033175b..309c4ea5a1 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -178,8 +178,8 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node) db_event_get(dbevent, &dbei);
time_t dbEventTimestamp = dbei.timestamp;
- ptrA dbMsgText((char *)mir_alloc(dbei.cbBlob));
- mir_strcpy(dbMsgText, (char*)dbei.pBlob);
+
+ ptrA dbMsgText(NEWSTR_ALLOCA((char *)dbei.pBlob));
TCHAR time[64];
_locale_t locale = _create_locale(LC_ALL, "");
|