From 24916ac908df7f2f94ecdc65bd63293b02af8105 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 31 Oct 2010 22:26:22 +0000 Subject: [PATCH] fixed typo --- src/peer_connection.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index ccc8d87c5..f72a9c985 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -3237,8 +3237,11 @@ namespace libtorrent TORRENT_ASSERT(m_ses.is_network_thread()); 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()); +#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 disconnect(errors::timed_out, 1); }