Ignore:
Timestamp:
Oct 28, 2008, 3:13:07 PM (13 years ago)
Author:
charles
Message:

#1308: Transmission forgets it's verifying data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r6905 r6975  
    202202}
    203203
     204int
     205tr_verifyInProgress( const tr_torrent * tor )
     206{
     207    int found = FALSE;
     208    tr_lock * lock = getVerifyLock( );
     209    tr_lockLock( lock );
     210
     211    found = ( tor == currentNode.torrent )
     212         || ( tr_list_find( verifyList, tor, compareVerifyByTorrent ) != NULL );
     213
     214    tr_lockUnlock( lock );
     215    return found;
     216}
     217
    204218void
    205219tr_verifyRemove( tr_torrent * tor )
Note: See TracChangeset for help on using the changeset viewer.