diff options
author | aunsane <aunsane@gmail.com> | 2018-01-21 12:50:12 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-21 12:50:54 +0300 |
commit | 7177ca3a70807f06746b5f753e786811cd98f90e (patch) | |
tree | 6a0360a3353a79f05b8e1ee330f80211ea806d36 /protocols/Tox/src/tox_messages.cpp | |
parent | 087173d06f4848f19d186b6902d399ce9b7225e1 (diff) |
Tox: attempt to fix locked file when transfer is cancelled
Diffstat (limited to 'protocols/Tox/src/tox_messages.cpp')
-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 6ab66e8186..8d39d1d6d7 100644 --- a/protocols/Tox/src/tox_messages.cpp +++ b/protocols/Tox/src/tox_messages.cpp @@ -60,7 +60,7 @@ void CToxProto::OnFriendMessage(Tox *tox, uint32_t friendNumber, TOX_MESSAGE_TYP rawMessage[length] = 0;
PROTORECVEVENT recv = { 0 };
- recv.timestamp = time(nullptr);
+ recv.timestamp = now();
recv.szMessage = rawMessage;
switch (type) {
case TOX_MESSAGE_TYPE_NORMAL:
|