Changeset 2067


Ignore:
Timestamp:
Jun 13, 2007, 5:09:17 PM (15 years ago)
Author:
charles
Message:

If our state is TR_STATUS_DONE, don't connect to seeders.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/file_selection/libtransmission/peer.c

    r2064 r2067  
    424424   
    425425    /* Disconnect if seeder and torrent is seeding */
    426     if( peer->tor->status == TR_STATUS_SEED && peer->progress >= 1.0 )
     426    if(   ( peer->progress >= 1.0 )
     427       && ( peer->tor->status & (TR_STATUS_SEED|TR_STATUS_DONE) ) )
    427428    {
    428429        return TR_ERROR;
Note: See TracChangeset for help on using the changeset viewer.