added comment
This commit is contained in:
parent
e72d95384b
commit
606796841f
|
@ -497,7 +497,9 @@ namespace libtorrent
|
||||||
std::vector<peer_entry> peer_list;
|
std::vector<peer_entry> peer_list;
|
||||||
for (int i = 0; i < num_peers; ++i)
|
for (int i = 0; i < num_peers; ++i)
|
||||||
{
|
{
|
||||||
// TODO: don't use a string here
|
// TODO: don't use a string here. The problem is that
|
||||||
|
// some trackers will respond with actual strings.
|
||||||
|
// Especially i2p trackers
|
||||||
peer_entry e;
|
peer_entry e;
|
||||||
char ip_string[100];
|
char ip_string[100];
|
||||||
unsigned int a = detail::read_uint8(buf);
|
unsigned int a = detail::read_uint8(buf);
|
||||||
|
|
Loading…
Reference in New Issue