summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/gateway.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-21 18:08:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-21 18:08:38 +0300
commit03ba85dcd2d47cf31d6181b40620e278f7f30427 (patch)
treeb094d6ec3070821a67455d4812d7776888eac803 /protocols/Discord/src/gateway.cpp
parentd15ac078344461faee80f676b49d2194387b9862 (diff)
more warnings fixed
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
-rw-r--r--protocols/Discord/src/gateway.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp
index 51a4b7344f..9d3266917a 100644
--- a/protocols/Discord/src/gateway.cpp
+++ b/protocols/Discord/src/gateway.cpp
@@ -248,7 +248,7 @@ void CDiscordProto::GatewayThreadWorker()
if (hdr.bIsFinal) {
// process a packet here
CMStringA szJson(netbuf.data() + hdr.headerSize, (int)hdr.payloadSize);
- debugLogA("JSON received:\n%s", szJson);
+ debugLogA("JSON received:\n%s", szJson.c_str());
JSONNode root = JSONNode::parse(szJson);
if (root)
GatewayProcess(root);