*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-02-26 00:41:36 +00:00
parent 2d363127e9
commit eb46f4711e
2 changed files with 2 additions and 1 deletions

View File

@ -305,6 +305,7 @@ namespace libtorrent
{ {
#endif #endif
// create listener socket // create listener socket
// TODO: if this fails, no alert is generated
boost::shared_ptr<socket> listener(new socket(socket::tcp, false)); boost::shared_ptr<socket> listener(new socket(socket::tcp, false));
for(;;) for(;;)

View File

@ -236,7 +236,7 @@ namespace libtorrent
, m_num_pieces(0) , m_num_pieces(0)
, m_got_tracker_response(false) , m_got_tracker_response(false)
, m_ratio(0.f) , m_ratio(0.f)
, m_net_interface(net_interface) , m_net_interface(net_interface.ip(), address::any_port)
{ {
assert(torrent_file.begin_files() != torrent_file.end_files()); assert(torrent_file.begin_files() != torrent_file.end_files());
m_have_pieces.resize(torrent_file.num_pieces(), false); m_have_pieces.resize(torrent_file.num_pieces(), false);