makes it build with logging
This commit is contained in:
parent
d7b1dda483
commit
c71a5a9435
|
@ -43,6 +43,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
# define TORRENT_EXPORT
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
|
||||
# define TORRENT_EXPORT
|
||||
|
||||
#elif defined(BOOST_MSVC)
|
||||
|
||||
# if defined(TORRENT_BUILDING_SHARED)
|
||||
|
|
|
@ -884,8 +884,7 @@ namespace libtorrent { namespace detail
|
|||
, "connection attempt failed"));
|
||||
|
||||
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
|
||||
(*m_logger) << boost::posix_time::microsec_clock::universal_time() << " FAILED: "
|
||||
<< (*i)->sender().as_string() << std::endl;
|
||||
(*m_logger) << "FAILED: " << (*i)->sender().as_string() << "\n";
|
||||
#endif
|
||||
p->second->set_failed();
|
||||
m_half_open.erase(p);
|
||||
|
|
Loading…
Reference in New Issue