Changeset 11101


Ignore:
Timestamp:
Aug 3, 2010, 1:25:23 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #3475 "'"stop seeding when inactive' doesn't appear to work" -- experimental fix

File:
1 edited

Legend:

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

    r11013 r11101  
    13511351            tr_torrent * tor = t->tor;
    13521352
    1353             tr_torrentSetActivityDate( tor, now );
    1354 
    1355             if( e->wasPieceData ) {
     1353            if( e->wasPieceData )
     1354            {
    13561355                tor->uploadedCur += e->length;
    13571356                tr_announcerAddBytes( tor, TR_ANN_UP, e->length );
     1357                tr_torrentSetActivityDate( tor, now );
    13581358                tr_torrentSetDirty( tor );
    13591359            }
     
    13981398            tr_torrent * tor = t->tor;
    13991399
    1400             tr_torrentSetActivityDate( tor, now );
    1401 
    1402             if( e->wasPieceData ) {
     1400            if( e->wasPieceData )
     1401            {
    14031402                tor->downloadedCur += e->length;
     1403                tr_torrentSetActivityDate( tor, now );
    14041404                tr_torrentSetDirty( tor );
    14051405            }
Note: See TracChangeset for help on using the changeset viewer.