From 0550363b853b1d9301036a4603f8cff1ff4f9589 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 22 Apr 2008 17:17:01 +0000 Subject: [PATCH] geo ip fix in client_test --- examples/client_test.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index c756c0d5a..907891887 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -993,7 +993,11 @@ int main(int ac, char* av[]) for (std::vector::iterator k = peers.begin() , end(peers.end()); k != end; ++k) { - f << k->ip.address() << "\t" << ses.as_for_ip(k->ip.address()) << std::endl; + f << k->ip.address() +#ifndef TORRENT_DISABLE_GEO_IP + << "\t" << ses.as_for_ip(k->ip.address()) +#endif + << std::endl; } } }