fixed typo
This commit is contained in:
parent
8737a339c8
commit
24916ac908
|
@ -3237,8 +3237,11 @@ namespace libtorrent
|
||||||
TORRENT_ASSERT(m_ses.is_network_thread());
|
TORRENT_ASSERT(m_ses.is_network_thread());
|
||||||
|
|
||||||
TORRENT_ASSERT(m_connecting);
|
TORRENT_ASSERT(m_connecting);
|
||||||
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
|
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
|
||||||
peer_log("CONNECTION TIMED OUT: %s", print_endpoint(m_remote).c_str());
|
peer_log("CONNECTION TIMED OUT: %s", print_endpoint(m_remote).c_str());
|
||||||
|
#endif
|
||||||
|
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
|
||||||
|
(*m_ses.m_logger) << "CONNECTION TIMED OUT: " << print_endpoint(m_remote) << "\n";
|
||||||
#endif
|
#endif
|
||||||
disconnect(errors::timed_out, 1);
|
disconnect(errors::timed_out, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue