Changeset 8917


Ignore:
Timestamp:
Aug 13, 2009, 7:28:06 PM (13 years ago)
Author:
charles
Message:

(trunk libT) revision of r8915 for #1765: give the same user-level warning message if T first notices that a torrent's disappeared when it's doing a tr_torrentVerify()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r8916 r8917  
    13331333    tr_torrentRecheckCompleteness( tor );
    13341334
    1335     if( tor->startAfterVerify )
     1335    if( tor->preVerifyTotal && !tr_cpHaveTotal( &tor->completion ) )
     1336    {
     1337        tr_torrentSetLocalError( tor, _( "Can't find local data.  Try \"Set Location\" to find it, or restart the torrent to re-download." ) );
     1338        tr_torrentStop( tor );
     1339    }
     1340    else if( tor->startAfterVerify )
    13361341    {
    13371342        tor->startAfterVerify = FALSE;
     1343
    13381344        tr_torrentStart( tor );
    13391345    }
     
    13661372
    13671373    /* add the torrent to the recheck queue */
     1374    tor->preVerifyTotal = tr_cpHaveTotal( &tor->completion );
    13681375    tr_torrentUncheck( tor );
    13691376    tr_verifyAdd( tor, torrentRecheckDoneCB );
Note: See TracChangeset for help on using the changeset viewer.