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_contacts.cpp | |
parent | 087173d06f4848f19d186b6902d399ce9b7225e1 (diff) |
Tox: attempt to fix locked file when transfer is cancelled
Diffstat (limited to 'protocols/Tox/src/tox_contacts.cpp')
-rw-r--r-- | protocols/Tox/src/tox_contacts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp index 08931dee00..d79ca5f61d 100644 --- a/protocols/Tox/src/tox_contacts.cpp +++ b/protocols/Tox/src/tox_contacts.cpp @@ -234,7 +234,7 @@ void CToxProto::OnFriendRequest(Tox*, const uint8_t *pubKey, const uint8_t *mess DB_AUTH_BLOB blob(hContact, nullptr, nullptr, nullptr, (LPCSTR)address, (LPCSTR)message);
PROTORECVEVENT pre = { 0 };
- pre.timestamp = time(nullptr);
+ pre.timestamp = now();
pre.lParam = blob.size();
pre.szMessage = blob;
ProtoChainRecv(hContact, PSR_AUTH, 0, (LPARAM)&pre);
|