Remove un-necessary cast

This commit is contained in:
Andrew Resch 2009-06-27 19:49:34 +00:00
parent 499d4dfbb4
commit 272e9e672d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ str get_country(peer_info const& pi)
tuple get_ip(peer_info const& pi)
{
return make_tuple(boost::lexical_cast<std::string>(pi.ip.address()), pi.ip.port());
return make_tuple(pi.ip.address().to_string(), pi.ip.port());
}
list get_pieces(peer_info const& pi)