From 2767c88fe4dd51e87e74b8d44cda2a7ea54c63b7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 2 Apr 2025 14:04:32 +0300 Subject: stronger types - better types --- protocols/Steam/src/steam_ws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/steam_ws.cpp b/protocols/Steam/src/steam_ws.cpp index b42c217172..e7c98357d5 100644 --- a/protocols/Steam/src/steam_ws.cpp +++ b/protocols/Steam/src/steam_ws.cpp @@ -170,7 +170,7 @@ void CSteamProto::ProcessMessage(const uint8_t *buf, size_t cbLen) auto md = g_plugin.messages.find(msgType); if (md == g_plugin.messages.end()) { debugLogA("Received message of type %d", msgType); - Netlib_Dump(HNETLIBCONN(m_ws->getConn()), buf, cbLen, false, 0); + Netlib_Dump(m_ws->getConn(), buf, cbLen, false, 0); } else if (auto *pMessage = protobuf_c_message_unpack(md->second, 0, cbLen, buf)) { debugLogA("Received known message:\n%s", protobuf_c_text_to_string(*pMessage).c_str()); -- cgit v1.2.3