fix to previous check-in

This commit is contained in:
Arvid Norberg 2007-04-11 22:50:01 +00:00
parent 87b1cdc341
commit 1fd3216e6c
1 changed files with 1 additions and 2 deletions

View File

@ -423,8 +423,7 @@ namespace libtorrent
{ {
if (is_seed()) return true; if (is_seed()) return true;
return valid_metadata() && m_torrent_file.num_pieces() return valid_metadata() && m_torrent_file.num_pieces()
- m_num_pieces - m_picker->num_filtered() - m_num_pieces - m_picker->num_filtered() == 0;
+ m_picker->num_have_filtered() == 0;
} }
boost::filesystem::path save_path() const; boost::filesystem::path save_path() const;