fix silly typo

This commit is contained in:
Arvid Norberg 2011-07-26 18:44:39 +00:00
parent 98157176c2
commit fbd7d49d7e
1 changed files with 1 additions and 1 deletions

View File

@ -7585,7 +7585,7 @@ namespace libtorrent
}
else if (is_seed())
{
int num_pieces = m_picker->num_pieces();
int num_pieces = m_torrent_file->num_pieces();
st->pieces.resize(num_pieces, true);
}
st->num_pieces = num_have();