fixed last-seen-complete bug in torrent::status

This commit is contained in:
Arvid Norberg 2011-01-25 08:20:22 +00:00
parent b230c385d9
commit fccd38d355
1 changed files with 1 additions and 1 deletions

View File

@ -7288,7 +7288,7 @@ namespace libtorrent
{
time_t last = last_seen_complete();
for (std::set<peer_connection*>::const_iterator i = m_connections.begin()
, end(m_connections.end()); i != i; ++i)
, end(m_connections.end()); i != end; ++i)
{
last = (std::max)(last, (*i)->last_seen_complete());
}