Ignore:
Timestamp:
Dec 27, 2006, 1:04:30 AM (16 years ago)
Author:
livings124
Message:

support in libT for individual torrent speed caps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer.c

    r1251 r1288  
    267267    for( ;; )
    268268    {
    269         if( tor && !tr_rcCanTransfer( tor->globalDownload ) )
     269        if( tor && (!tr_rcCanTransfer( tor->globalDownload )
     270                    || !tr_rcCanTransfer( tor->download ) ) )
    270271        {
    271272            break;
     
    437438        while( ( p = blockPending( tor, peer, &size ) ) )
    438439        {
    439             if( !tr_rcCanTransfer( tor->globalUpload ) )
     440            if( !tr_rcCanTransfer( tor->globalUpload )
     441                || !tr_rcCanTransfer( tor->upload ) )
    440442            {
    441443                break;
Note: See TracChangeset for help on using the changeset viewer.