From 0253004ab6ca317e81212dc00eb5f20d5357c99e Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 7 Mar 2007 00:10:47 +0000 Subject: [PATCH] improved client_test's error reporting for web seeds --- examples/client_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index a20fde38b..f46ed1062 100755 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -813,6 +813,10 @@ int main(int ac, char* av[]) events.push_back(now + ": " + p->msg() + " (" + boost::lexical_cast(p->num_peers) + ")"); } + else if (url_seed_alert* p = dynamic_cast(a.get())) + { + events.push_back(now + ": web seed '" + p->url + "': "+ p->msg()); + } else { events.push_back(now + ": " + a->msg());