dht bugfix

This commit is contained in:
Arvid Norberg 2010-02-14 04:58:21 +00:00
parent fe5f908cc6
commit 0acfe4a480
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ node_impl::node_impl(libtorrent::aux::session_impl& ses
, node_id nid , node_id nid
, void* userdata) , void* userdata)
: m_settings(settings) : m_settings(settings)
, m_id(nid == (node_id::min)()? nid : generate_id()) , m_id(nid == (node_id::min)() ? generate_id() : nid)
, m_table(m_id, 8, settings) , m_table(m_id, 8, settings)
, m_rpc(m_id, m_table, f, userdata) , m_rpc(m_id, m_table, f, userdata)
, m_last_tracker_tick(time_now()) , m_last_tracker_tick(time_now())