From 97a8e3b895d5ea9481c0bfe7093aaddbc0643f0d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 28 Aug 2014 07:02:43 +0000 Subject: [PATCH] fix build error with verbose logging --- src/peer_connection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 54853ca6f..e843e7b3e 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -6351,7 +6351,8 @@ namespace libtorrent TORRENT_ASSERT(m_socket); #if defined TORRENT_VERBOSE_LOGGING - peer_log(">>> COMPLETED [ ep: %s rtt: %d ]", print_endpoint(m_remote).c_str(), m_rtt); + peer_log(">>> COMPLETED [ ep: %s rtt: %d ]" + , print_endpoint(m_remote).c_str(), m_rtt.mean()); #endif // set the socket to non-blocking, so that we can