fix dht assert
This commit is contained in:
parent
84cc736c48
commit
ab96600ae3
|
@ -187,7 +187,7 @@ void traversal_algorithm::add_entry(node_id const& id, udp::endpoint addr, unsig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TORRENT_ASSERT(std::find_if(m_results.begin(), m_results.end()
|
TORRENT_ASSERT((o->flags & observer::flag_no_id) || std::find_if(m_results.begin(), m_results.end()
|
||||||
, boost::bind(&observer::id, _1) == id) == m_results.end());
|
, boost::bind(&observer::id, _1) == id) == m_results.end());
|
||||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||||
TORRENT_LOG(traversal) << "[" << this << "] ADD id: " << id
|
TORRENT_LOG(traversal) << "[" << this << "] ADD id: " << id
|
||||||
|
|
Loading…
Reference in New Issue