Changeset 7990


Ignore:
Timestamp:
Mar 2, 2009, 3:18:03 AM (13 years ago)
Author:
charles
Message:

(trunk libT) in tr_torrentCheckSeedRadio(), make sure to check & see if the torrent is running ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r7989 r7990  
    21362136
    21372137    /* if we're seeding and we've reached our seed ratio limit, stop the torrent */
    2138     if( tr_torrentIsSeed( tor ) && tr_torrentGetSeedRatio( tor, &seedRatio ) )
     2138    if( tor->isRunning && tr_torrentIsSeed( tor ) && tr_torrentGetSeedRatio( tor, &seedRatio ) )
    21392139    {
    21402140        const uint64_t up = tor->uploadedCur + tor->uploadedPrev;
Note: See TracChangeset for help on using the changeset viewer.