improve alert errors for peer alerts

This commit is contained in:
Arvid Norberg 2013-11-05 01:30:29 +00:00
parent ec87fb2968
commit 4f11258d36
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ namespace libtorrent {
std::string peer_alert::message() const
{
error_code ec;
return torrent_alert::message() + " peer (" + ip.address().to_string(ec)
return torrent_alert::message() + " peer (" + print_endpoint(ip)
+ ", " + identify_client(pid) + ")";
}