Changeset 1870


Ignore:
Timestamp:
May 16, 2007, 3:05:25 AM (15 years ago)
Author:
livings124
Message:

when seeding don't connect to seeders...it's just common sense

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer.c

    r1869 r1870  
    401401        peer->status = PEER_STATUS_CONNECTING;
    402402    }
     403   
     404    /* Disconnect if seeder and torrent is seeding */
     405    if( peer->tor->status == TR_STATUS_SEED && peer->progress >= 1.0 )
     406    {
     407        return TR_ERROR;
     408    }
    403409
    404410    /* Try to send handshake */
Note: See TracChangeset for help on using the changeset viewer.