From 223154b1f10411ba254aba379d85a8b1d1aaaadf Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 13 Jan 2015 22:40:16 +0000 Subject: [PATCH] fix build --- src/tracker_manager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tracker_manager.cpp b/src/tracker_manager.cpp index d4dbcd25a..8651e6bea 100644 --- a/src/tracker_manager.cpp +++ b/src/tracker_manager.cpp @@ -313,8 +313,8 @@ namespace libtorrent if (size < 8) { #if defined TORRENT_LOGGING - m_ses.debug_log("incoming packet from %s, not a UDP tracker message " - "(%d Bytes)", print_endpoint(*from).c_str(), size); + m_ses.session_log("incoming packet from %s, not a UDP tracker message " + "(%d Bytes)", print_endpoint(ep).c_str(), size); #endif return false; } @@ -326,8 +326,8 @@ namespace libtorrent if (i == m_udp_conns.end()) { #if defined TORRENT_LOGGING - m_ses.debug_log("incoming UDP tracker packet from %s has invalid " - "transaction ID (%" PRIu32 ")", print_endpoint(*from).c_str() + m_ses.session_log("incoming UDP tracker packet from %s has invalid " + "transaction ID (%" PRIu32 ")", print_endpoint(ep).c_str() , transaction); #endif return false; @@ -345,7 +345,7 @@ namespace libtorrent if (size < 8) { #if defined TORRENT_LOGGING - m_ses.debug_log("incoming packet from %s, not a UDP tracker message " + m_ses.session_log("incoming packet from %s, not a UDP tracker message " "(%d Bytes)", hostname, size); #endif return false; @@ -358,7 +358,7 @@ namespace libtorrent if (i == m_udp_conns.end()) { #if defined TORRENT_LOGGING - m_ses.debug_log("incoming UDP tracker packet from %s has invalid " + m_ses.session_log("incoming UDP tracker packet from %s has invalid " "transaction ID (%x)", hostname, int(transaction)); #endif return false;