diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-26 12:42:38 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-26 12:42:38 +0300 |
commit | f05405db4308a5c419f15a3c9538e4c11e6c172a (patch) | |
tree | 4fa55475b428dcf5f26c27f4542b74a0572b6086 /protocols/Steam/src | |
parent | ac6daf28ff621f1bd304fb061fca7b8254c929f4 (diff) |
code cleaning
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 2 | ||||
-rw-r--r-- | protocols/Steam/src/steam_history.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 7f7979e825..a007840c3b 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -308,7 +308,7 @@ void CSteamProto::ContactIsAskingAuth(MCONTACT hContact) DB::AUTH_BLOB blob(hContact, nickName, firstName, lastName, steamId, reason); - PROTORECVEVENT recv = { 0 }; + PROTORECVEVENT recv = {}; recv.timestamp = now(); recv.szMessage = blob; recv.lParam = blob.size(); diff --git a/protocols/Steam/src/steam_history.cpp b/protocols/Steam/src/steam_history.cpp index eb5df8d8c1..9590ceb26d 100644 --- a/protocols/Steam/src/steam_history.cpp +++ b/protocols/Steam/src/steam_history.cpp @@ -53,7 +53,7 @@ void CSteamProto::OnGotHistoryMessages(const JSONNode &root, void *arg) if (timestamp <= storedMessageTS) continue; - PROTORECVEVENT recv = { 0 }; + PROTORECVEVENT recv = {}; recv.timestamp = timestamp; recv.szMessage = (char *)text.c_str(); |