2
0
mirror of synced 2025-02-24 14:48:27 +00:00
This commit is contained in:
Matt Joiner 2015-05-20 15:47:07 +10:00
parent 085dbaa8ff
commit ca86b0248e

View File

@ -38,7 +38,7 @@ func resolvedPeerAddrs(ss []string) (ret []torrent.Peer, err error) {
func bytesCompleted(tc *torrent.Client) (ret int64) {
for _, t := range tc.Torrents() {
if t.Info != nil {
if t.Info() != nil {
ret += t.BytesCompleted()
}
}