fixed bug found by Massaroddel. Some code was accidentily put inside a condition depending on the alert level

This commit is contained in:
Arvid Norberg 2005-11-05 11:37:51 +00:00
parent 822ac4a283
commit 8c281cdb17
1 changed files with 5 additions and 6 deletions

View File

@ -882,7 +882,7 @@ namespace libtorrent { namespace detail
p->first->sender()
, p->second->id()
, "connection attempt failed"));
}
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << "FAILED: " << (*i)->sender().as_string() << "\n";
#endif
@ -891,7 +891,6 @@ namespace libtorrent { namespace detail
}
}
}
}
#ifndef NDEBUG
check_invariant("after ERROR SOCKETS");