diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-12-15 12:53:15 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-12-15 12:53:15 +0300 |
| commit | c787b1dd7c74b639f7e7e373cecf06d131b2fe3b (patch) | |
| tree | 249a298ab8088ed20744736651407832f98c11d9 /protocols/Steam/src/steam_ws.cpp | |
| parent | 4d6ff1f6d3a818998364004e032d640675918ce7 (diff) | |
Steam: protobuf-c printer added for debugging purposes
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 7c7c6f32c1..f22587eca4 100644 --- a/protocols/Steam/src/steam_ws.cpp +++ b/protocols/Steam/src/steam_ws.cpp @@ -139,7 +139,7 @@ void CSteamProto::ProcessMessage(const uint8_t *buf, size_t cbLen) else if (bIsProto) { uint32_t hdrLen = *(uint32_t *)buf; buf += sizeof(uint32_t); cbLen -= sizeof(uint32_t); proto::MsgProtoBufHeader tmpHeader(buf, hdrLen); - if (tmpHeader == nullptr) { + if (tmpHeader == nullptr) { debugLogA("Unable to decode message header, exiting"); return; } |
