There is no need to escape self i2p ip in Base 64

This commit is contained in:
Mikhail Titov 2015-06-13 15:45:17 -05:00
parent bfb3602634
commit fda379729c
1 changed files with 1 additions and 4 deletions

View File

@ -168,10 +168,7 @@ namespace libtorrent
#if TORRENT_USE_I2P
if (i2p && tracker_req().i2pconn)
{
url += "&ip=";
url += escape_string(tracker_req().i2pconn->local_endpoint().c_str()
, tracker_req().i2pconn->local_endpoint().size());
url += ".i2p";
url += "&ip=" + tracker_req ().i2pconn->local_endpoint () + ".i2p";
}
else
#endif