fixed DHT assert

This commit is contained in:
Arvid Norberg 2008-03-29 14:52:18 +00:00
parent c3e1b01e8d
commit 2bd49c4b56
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,9 @@ boost::pool<>& traversal_algorithm::allocator() const
void traversal_algorithm::traverse(node_id const& id, udp::endpoint addr)
{
TORRENT_ASSERT(!id.is_all_zeros());
#ifdef TORRENT_DHT_VERBOSE_LOGGING
TORRENT_LOG(traversal) << "node returned a list which included a node with id 0";
#endif
add_entry(id, addr, 0);
}