fixed typo in physical_offset pad-file fix

This commit is contained in:
Arvid Norberg 2011-07-03 21:09:42 +00:00
parent da0560f129
commit 639590eff8
1 changed files with 1 additions and 1 deletions

View File

@ -992,7 +992,7 @@ ret:
while (file_iter->pad_file)
{
++file_iter;
if (file_iter == m_files.end())
if (file_iter == files().end())
return size_type(slot) * files().piece_length() + offset;
}
TORRENT_ASSERT(!file_iter->pad_file);