Implement sync/torrent_peers request

This commit is contained in:
buinsky
2015-11-12 22:19:44 +03:00
parent aea6c38b33
commit 00c765be1b
10 changed files with 266 additions and 151 deletions

View File

@@ -960,7 +960,7 @@ QList<PeerInfo> TorrentHandle::peers() const
SAFE_CALL(get_peer_info, nativePeers);
foreach (const libt::peer_info &peer, nativePeers)
peers << peer;
peers << PeerInfo(this, peer);
return peers;
}