Changeset 10047


Ignore:
Timestamp:
Jan 30, 2010, 12:43:31 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2656 "download speed limit of 0 is not honored" -- fixed in trunk for 1.90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-msgs.c

    r10022 r10047  
    17771777updateBlockRequests( tr_peermsgs * msgs )
    17781778{
    1779     if( ( msgs->desiredRequestCount > 0 ) &&
    1780         ( msgs->peer->pendingReqsToPeer <= ( msgs->desiredRequestCount * 0.66 ) ) )
     1779    if( tr_torrentIsPieceTransferAllowed( msgs->torrent, TR_PEER_TO_CLIENT )
     1780        && ( msgs->desiredRequestCount > 0 )
     1781        && ( msgs->peer->pendingReqsToPeer <= ( msgs->desiredRequestCount * 0.66 ) ) )
    17811782    {
    17821783        int i;
Note: See TracChangeset for help on using the changeset viewer.