lt sync 2803

This commit is contained in:
Andrew Resch 2008-10-15 20:55:20 +00:00
commit 130d7c08a0
2 changed files with 7 additions and 2 deletions

View file

@ -3,6 +3,8 @@ Deluge 1.0.3 (In Development)
* Fix upnp - it should work on more routers now too * Fix upnp - it should work on more routers now too
* Fix issue where Deluge would send improper stats to the tracker after a * Fix issue where Deluge would send improper stats to the tracker after a
pause/resume. pause/resume.
* Fix issue where fastresume files would be rejected when using FAT32. This
would cause the torrent to be rechecked on every startup.
Deluge 1.0.2 (10 October 2008) Deluge 1.0.2 (10 October 2008)
Core: Core:

View file

@ -396,8 +396,11 @@ namespace libtorrent
+ " bytes"; + " bytes";
return false; return false;
} }
if ((compact_mode && time != s->second) // allow one second 'slack', because of FAT volumes
|| (!compact_mode && time < s->second)) // 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 '" if (error) *error = "timestamp mismatch for file '"
+ i->path.native_file_string() + i->path.native_file_string()