*** empty log message ***

This commit is contained in:
Daniel Wallin
2003-12-07 14:12:14 +00:00
parent 5f9ae41e86
commit 417c73be96
4 changed files with 82 additions and 17 deletions

View File

@@ -544,7 +544,7 @@ namespace libtorrent
{
size_type size = m_torrent_file.piece_size(piece_index);
std::vector<char> buffer(size);
m_storage.read(&buffer[0], piece_index, size, 0);
m_storage.read(&buffer[0], piece_index, 0, size);
hasher h;
h.update(&buffer[0], size);