*** empty log message ***

This commit is contained in:
Arvid Norberg 2005-06-13 10:58:00 +00:00
parent de63a70323
commit cf8d7beb23
2 changed files with 3 additions and 5 deletions

View File

@ -2020,6 +2020,7 @@ namespace libtorrent
std::copy(m_recv_buffer.begin()+8, m_recv_buffer.begin() + 28, (char*)info_hash.begin());
m_torrent = m_ses.find_torrent(info_hash);
if (m_torrent && m_torrent->is_aborted()) m_torrent = 0;
if (m_torrent == 0)
{
// we couldn't find the torrent!

View File

@ -792,9 +792,7 @@ namespace libtorrent { namespace detail
= m_torrents.find(info_hash);
#ifndef NDEBUG
for (std::map<sha1_hash, boost::shared_ptr<torrent> >::iterator j
= m_torrents.begin();
j != m_torrents.end();
++j)
= m_torrents.begin(); j != m_torrents.end(); ++j)
{
torrent* p = boost::get_pointer(j->second);
assert(p);
@ -818,8 +816,7 @@ namespace libtorrent { namespace detail
assert(place);
for (connection_map::iterator i = m_connections.begin();
i != m_connections.end();
++i)
i != m_connections.end(); ++i)
{
if (i->second->can_write() != m_selector.is_writability_monitored(i->first)
|| i->second->can_read() != m_selector.is_readability_monitored(i->first))