1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00
This commit is contained in:
Mitchell Livingston 2007-07-15 15:45:08 +00:00
parent 1facf22f58
commit 975e066919

View file

@ -659,9 +659,9 @@ tr_torrentPeers( const tr_torrent_t * tor, int * peerCount )
peers[i].port = tr_peerPort( peer ); peers[i].port = tr_peerPort( peer );
peers[i].uploadToRate = tr_peerUploadRate( peer ); peers[i].uploadToRate = tr_peerUploadRate( peer );
peers[i].isDownloading = peers[i].uploadToRate > 0.01;
peers[i].downloadFromRate = tr_peerDownloadRate( peer ); peers[i].downloadFromRate = tr_peerDownloadRate( peer );
peers[i].isDownloading = peers[i].uploadToRate > 0.01;
peers[i].isUploading = peers[i].downloadFromRate > 0.01; peers[i].isUploading = peers[i].downloadFromRate > 0.01;
} }
} }