summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-26 12:42:38 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-26 12:42:38 +0300
commitf05405db4308a5c419f15a3c9538e4c11e6c172a (patch)
tree4fa55475b428dcf5f26c27f4542b74a0572b6086 /protocols/Tox
parentac6daf28ff621f1bd304fb061fca7b8254c929f4 (diff)
code cleaning
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_messages.cpp2
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) {