From 949dbe23d3cb025358d9d955e60a6f3b2c92e280 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 19 May 2008 07:37:01 +0000 Subject: [PATCH] added more output in the client_test log --- 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 4875500ec..612982f11 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1148,7 +1148,7 @@ int main(int ac, char* av[]) } else if (peer_error_alert* p = dynamic_cast(a.get())) { - event_string << identify_client(p->pid) << ": " << a->msg(); + event_string << identify_client(p->pid) << ", " << p->ip << ": " << a->msg(); } else if (invalid_request_alert* p = dynamic_cast(a.get())) { @@ -1156,11 +1156,11 @@ int main(int ac, char* av[]) } else if (tracker_warning_alert* p = dynamic_cast(a.get())) { - event_string << "tracker message: " << p->msg(); + event_string << "tracker message: " << p->msg() << " (" << p->url << ")"; } else if (tracker_reply_alert* p = dynamic_cast(a.get())) { - event_string << p->msg() << " (" << p->num_peers << ")"; + event_string << p->msg() << " (" << p->num_peers << ") (" << p->url << ")"; } else if (url_seed_alert* p = dynamic_cast(a.get())) {