summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_ws.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-02 14:04:32 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-02 14:04:32 +0300
commit2767c88fe4dd51e87e74b8d44cda2a7ea54c63b7 (patch)
treebd202d4b48b9c453727905d446b996cf832a696d /protocols/Steam/src/steam_ws.cpp
parent86cb2d6947b6c352313628500d40055145c4b128 (diff)
stronger types - better types
Diffstat (limited to 'protocols/Steam/src/steam_ws.cpp')
-rw-r--r--protocols/Steam/src/steam_ws.cpp2
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());