diff options
Diffstat (limited to 'protocols/Steam/src/steam_ws.cpp')
| -rw-r--r-- | protocols/Steam/src/steam_ws.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_ws.cpp b/protocols/Steam/src/steam_ws.cpp index b84baf95e8..bbf8a5b7a0 100644 --- a/protocols/Steam/src/steam_ws.cpp +++ b/protocols/Steam/src/steam_ws.cpp @@ -207,9 +207,7 @@ void CSteamProto::WSSend(EMsg msgType, const ProtobufCppMessage &msg) void CSteamProto::WSSendHeader(EMsg msgType, const CMsgProtoBufHeader &hdr, const ProtobufCppMessage &msg) { - auto *pszText = protobuf_c_text_to_string(&msg, 0); - debugLogA("Message sent: %s\r\n%s", msg.descriptor->c_name, pszText); - free(pszText); + debugLogA("Message sent:\n%s", protobuf_c_text_to_string(msg).c_str()); uint32_t hdrLen = (uint32_t)protobuf_c_message_get_packed_size(&hdr); MBinBuffer hdrbuf(hdrLen); |
