diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-02 14:04:32 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-02 14:04:32 +0300 |
commit | 2767c88fe4dd51e87e74b8d44cda2a7ea54c63b7 (patch) | |
tree | bd202d4b48b9c453727905d446b996cf832a696d /protocols/Steam/src/steam_ws.cpp | |
parent | 86cb2d6947b6c352313628500d40055145c4b128 (diff) |
stronger types - better types
Diffstat (limited to 'protocols/Steam/src/steam_ws.cpp')
-rw-r--r-- | protocols/Steam/src/steam_ws.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |