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/Tox | |
parent | ac6daf28ff621f1bd304fb061fca7b8254c929f4 (diff) |
code cleaning
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/src/tox_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_messages.cpp b/protocols/Tox/src/tox_messages.cpp index 264385db69..77fe39b493 100644 --- a/protocols/Tox/src/tox_messages.cpp +++ b/protocols/Tox/src/tox_messages.cpp @@ -51,7 +51,7 @@ void CToxProto::OnFriendMessage(Tox *tox, uint32_t friendNumber, TOX_MESSAGE_TYP else mir_strncpy(rawMessage, (const char*)message, length + 1);
rawMessage[length] = 0;
- PROTORECVEVENT recv = { 0 };
+ PROTORECVEVENT recv = {};
recv.timestamp = now();
recv.szMessage = rawMessage;
switch (type) {
|