removed debug output that was left in by mistake in last check in
This commit is contained in:
parent
728b0f219b
commit
3f38e4c38d
|
@ -897,7 +897,6 @@ namespace libtorrent
|
|||
assert(c.remote() == c.get_socket()->sender());
|
||||
peer p(c.remote(), peer::not_connectable);
|
||||
m_peers.push_back(p);
|
||||
check_invariant();
|
||||
i = m_peers.end()-1;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -882,13 +882,11 @@ namespace libtorrent { namespace detail
|
|||
p->first->sender()
|
||||
, p->second->id()
|
||||
, "connection attempt failed"));
|
||||
// TODO: TEMP!
|
||||
#warning TEMP!
|
||||
std::ofstream log("connect.log", std::ios::app);
|
||||
log << boost::posix_time::microsec_clock::universal_time() << " FAILED: "
|
||||
<< (*i)->sender().as_string() << std::endl;
|
||||
|
||||
|
||||
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
|
||||
(*m_logger) << boost::posix_time::microsec_clock::universal_time() << " FAILED: "
|
||||
<< (*i)->sender().as_string() << std::endl;
|
||||
#endif
|
||||
p->second->set_failed();
|
||||
m_half_open.erase(p);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue