mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
whoops
This commit is contained in:
parent
1facf22f58
commit
975e066919
1 changed files with 2 additions and 2 deletions
|
@ -659,9 +659,9 @@ tr_torrentPeers( const tr_torrent_t * tor, int * peerCount )
|
|||
peers[i].port = tr_peerPort( peer );
|
||||
|
||||
peers[i].uploadToRate = tr_peerUploadRate( peer );
|
||||
peers[i].isDownloading = peers[i].uploadToRate > 0.01;
|
||||
|
||||
peers[i].downloadFromRate = tr_peerDownloadRate( peer );
|
||||
|
||||
peers[i].isDownloading = peers[i].uploadToRate > 0.01;
|
||||
peers[i].isUploading = peers[i].downloadFromRate > 0.01;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue