re-fixed the open_listen_port() issue
This commit is contained in:
parent
37d9c8d329
commit
6a5806bfd2
|
@ -532,8 +532,6 @@ namespace aux {
|
||||||
(*m_logger) << time_now_string() << "\n";
|
(*m_logger) << time_now_string() << "\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
open_listen_port();
|
|
||||||
|
|
||||||
#ifndef TORRENT_DISABLE_DHT
|
#ifndef TORRENT_DISABLE_DHT
|
||||||
m_next_dht_torrent = m_torrents.begin();
|
m_next_dht_torrent = m_torrents.begin();
|
||||||
#endif
|
#endif
|
||||||
|
@ -746,6 +744,8 @@ namespace aux {
|
||||||
boost::bind(&session_impl::on_dht_announce, this, _1));
|
boost::bind(&session_impl::on_dht_announce, this, _1));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
open_listen_port();
|
||||||
|
|
||||||
m_thread.reset(new thread(boost::bind(&session_impl::main_thread, this)));
|
m_thread.reset(new thread(boost::bind(&session_impl::main_thread, this)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue