summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-03-19 16:50:38 +0500
committerElzorFox <elzorfox@ya.ru>2017-03-19 16:50:38 +0500
commit100badfbc7d633078f25fb4b9ecd7350140e1dfa (patch)
treed3f21d045f6a5b1b66390f7dc7c143d1f160afd6 /protocols/VKontakte/src/vk_messages.cpp
parentfbe3739da349afbb2e42bc6c1ce5a20b657289ac (diff)
VKontakte: fix warning C4840 in MSVS 2017
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp
index 220c4d98b5..beb0e019e7 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -67,7 +67,7 @@ int CVkProto::SendMsg(MCONTACT hContact, int, const char *szMsg)
if (m_vkOptions.bSendVKLinksAsAttachments) {
CMStringA szAttachments = GetAttachmentsFromMessage(szMsg);
if (!szAttachments.IsEmpty()) {
- debugLogA("CVkProto::SendMsg Attachments = %s", szAttachments);
+ debugLogA("CVkProto::SendMsg Attachments = %s", szAttachments.c_str());
pReq << CHAR_PARAM("attachment", szAttachments);
}
}