fixed broken udp-tracker support

This commit is contained in:
Arvid Norberg 2008-01-06 20:18:44 +00:00
parent 4d8833bc35
commit 263c2ae2c9
1 changed files with 0 additions and 1 deletions

View File

@ -106,7 +106,6 @@ namespace libtorrent
, udp::resolver::iterator i)
{
if (error == asio::error::operation_aborted) return;
if (!m_socket.is_open()) return; // the operation was aborted
if (error || i == udp::resolver::iterator())
{
fail(-1, error.message().c_str());