mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 10:56:44 +02:00
Use time_t instead of uint64_t for timestamps
Also call time() directly from get_unix_time() instead of manually updating the time val.
This commit is contained in:
@ -61,8 +61,8 @@ struct FileTransfer {
|
||||
size_t index;
|
||||
uint64_t file_size;
|
||||
uint64_t position;
|
||||
uint64_t last_line_progress; /* The last time we updated the progress bar */
|
||||
uint64_t last_keep_alive; /* The last time we sent or received data */
|
||||
time_t last_line_progress; /* The last time we updated the progress bar */
|
||||
time_t last_keep_alive; /* The last time we sent or received data */
|
||||
uint32_t line_id;
|
||||
uint8_t file_id[TOX_FILE_ID_LENGTH];
|
||||
};
|
||||
|
Reference in New Issue
Block a user