From a9bb9023fbd73b379166122849431c69f926044a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 30 Mar 2008 18:31:30 +0000 Subject: [PATCH] fixed build with logging --- include/libtorrent/aux_/session_impl.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/aux_/session_impl.hpp b/include/libtorrent/aux_/session_impl.hpp index f0fd4fd2a..5eefd7f66 100644 --- a/include/libtorrent/aux_/session_impl.hpp +++ b/include/libtorrent/aux_/session_impl.hpp @@ -583,7 +583,8 @@ namespace libtorrent , std::vector& peers , int interval , int complete - , int incomplete) + , int incomplete + , address const& external_ip) { std::stringstream s; s << "TRACKER RESPONSE:\n" @@ -597,6 +598,7 @@ namespace libtorrent if (!i->pid.is_all_zeros()) s << " " << i->pid; s << "\n"; } + s << "external ip: " << external_ip << "\n"; debug_log(s.str()); }