fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet

This commit is contained in:
Arvid Norberg
2011-02-16 10:16:52 +00:00
parent 3c05e81529
commit 513914050c
13 changed files with 35 additions and 33 deletions

View File

@@ -252,7 +252,7 @@ namespace libtorrent
for (std::list<socket_entry>::iterator i = m_unicast_sockets.begin()
, end(m_unicast_sockets.end()); i != end; ++i)
{
if (i->socket) continue;
if (!i->socket) continue;
i->socket->set_option(option, ec);
}
}