From b859942369b9d53e599ef1a47016430e481d53bb Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 20 May 2008 01:23:26 +0000 Subject: [PATCH] added torrent name to logs --- examples/client_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 612982f11..539398354 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1156,15 +1156,15 @@ int main(int ac, char* av[]) } else if (tracker_warning_alert* p = dynamic_cast(a.get())) { - event_string << "tracker message: " << p->msg() << " (" << p->url << ")"; + event_string << "tracker message: " << p->msg() << " (" << p->url << ") (" << p->handle.name() << ")"; } else if (tracker_reply_alert* p = dynamic_cast(a.get())) { - event_string << p->msg() << " (" << p->num_peers << ") (" << p->url << ")"; + event_string << p->msg() << " (" << p->num_peers << ") (" << p->url << ") (" << p->handle.name() << ")"; } else if (url_seed_alert* p = dynamic_cast(a.get())) { - event_string << "web seed '" << p->url << "': " << p->msg(); + event_string << "web seed '" << p->url << "': " << p->msg() << " (" << p->handle.name() << ")"; } else if (peer_blocked_alert* p = dynamic_cast(a.get())) {