diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 8492c9edf..6ccad1057 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -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; } }