Changeset 9974


Ignore:
Timestamp:
Jan 20, 2010, 8:08:12 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #2676 "Transmission writes to non-existent drive in '/Volumes'" -- we're already stopping the torrent when the local data disappears, but let's add a more explicit and helpful error message to help users diagnoses the problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r9868 r9974  
    332332
    333333        case TR_TRACKER_ERROR_CLEAR:
    334             tor->error = TR_STAT_OK;
    335             tor->errorString[0] = '\0';
     334            if( tor->error != TR_STAT_LOCAL_ERROR )
     335            {
     336                tor->error = TR_STAT_OK;
     337                tor->errorString[0] = '\0';
     338            }
    336339            break;
    337340    }
     
    13171320    if( tor->preVerifyTotal && !tr_cpHaveTotal( &tor->completion ) )
    13181321    {
    1319         tr_torrentSetLocalError( tor, _( "Can't find local data.  Try \"Set Location\" to find it, or restart the torrent to re-download." ) );
     1322        tr_torrentSetLocalError( tor, _( "No data found!  Please reconnect any disconnected drives, use \"Set Location\" to find the data, or restart the torrent to re-download." ) );
    13201323        tr_torrentStop( tor );
    13211324    }
Note: See TracChangeset for help on using the changeset viewer.