mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
lt sync 2803
This commit is contained in:
parent
e0a380fb0e
commit
170e430b8c
1 changed files with 5 additions and 2 deletions
|
@ -396,8 +396,11 @@ namespace libtorrent
|
|||
+ " bytes";
|
||||
return false;
|
||||
}
|
||||
if ((compact_mode && time != s->second)
|
||||
|| (!compact_mode && time < s->second))
|
||||
// allow one second 'slack', because of FAT volumes
|
||||
// in sparse mode, allow the files to be more recent
|
||||
// than the resume data, but only by 5 minutes
|
||||
if ((compact_mode && (time > s->second + 1 || time < s->second - 1)) ||
|
||||
(!compact_mode && (time > s->second + 5 * 60) || time < s->second - 1))
|
||||
{
|
||||
if (error) *error = "timestamp mismatch for file '"
|
||||
+ i->path.native_file_string()
|
||||
|
|
Loading…
Add table
Reference in a new issue