fix for pad-files
This commit is contained in:
parent
d13335ba14
commit
40fb16b703
|
@ -994,6 +994,8 @@ ret:
|
|||
++file_iter;
|
||||
if (file_iter == files().end())
|
||||
return size_type(slot) * files().piece_length() + offset;
|
||||
// update offset as well, since we're moving it up ahead
|
||||
tor_off = file_iter->offset;
|
||||
}
|
||||
TORRENT_ASSERT(!file_iter->pad_file);
|
||||
|
||||
|
|
Loading…
Reference in New Issue