diff options
author | George Hazan <george.hazan@gmail.com> | 2024-12-15 13:50:13 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-12-15 13:50:13 +0300 |
commit | d2c72c9bf3492fd40960c2f0935c9c675795d28a (patch) | |
tree | 63606145ac9b05bf564a4e402779f3ee91187499 /protocols/Steam/src/stdafx.h | |
parent | 61dfaa92b8f3af3a3c7a63616395d61a8c7dae62 (diff) |
fix for a memory corruption inside protobuf printer
Diffstat (limited to 'protocols/Steam/src/stdafx.h')
-rw-r--r-- | protocols/Steam/src/stdafx.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Steam/src/stdafx.h b/protocols/Steam/src/stdafx.h index 11cdbe7e49..d14388ef70 100644 --- a/protocols/Steam/src/stdafx.h +++ b/protocols/Steam/src/stdafx.h @@ -44,11 +44,6 @@ #include "protobuf-c/steammessages_friendmessages.steamclient.pb-c.h"
#include "proto.h"
-extern "C"
-{
- #include "protobuf-c/protobuf-c-text.h"
-}
-
#define MODULE "Steam"
#define DB_KEY_LASTMSGTS "LastMessageTS"
@@ -73,6 +68,7 @@ extern HANDLE hExtraXStatus; #define now() time(0)
int64_t getRandomInt();
+CMStringA protobuf_c_text_to_string(const ProtobufCMessage &msg);
#include "steam_dialogs.h"
|