Ignore:
Timestamp:
Mar 26, 2009, 6:06:54 PM (13 years ago)
Author:
charles
Message:

(trunk) rpc changes:

  1. new field "blocklist-size" to session-info, so RPC clients can know how big the blocklist is
  2. new method "torrent-reannounce" so RPC clients can ask the tracker for more peers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r7816 r8090  
    143143
    144144        tr_torinf( tor, _( "Verifying torrent" ) );
    145         assert( tr_isTorrent( tor ) );
    146         tor->verifyState = TR_VERIFY_NOW;
     145        tr_torrentSetVerifyState( tor, TR_VERIFY_NOW );
    147146        buffer = tr_new( uint8_t, tor->info.pieceSize );
    148147        for( i = 0; i < tor->info.fileCount && !stopCurrent; ++i )
    149148            changed |= checkFile( tor, buffer, tor->info.pieceSize, i, &stopCurrent );
    150149        tr_free( buffer );
    151         tor->verifyState = TR_VERIFY_NONE;
     150        tr_torrentSetVerifyState( tor, TR_VERIFY_NONE );
    152151        assert( tr_isTorrent( tor ) );
    153152
     
    188187
    189188        tr_lockLock( getVerifyLock( ) );
    190         tor->verifyState = verifyList ? TR_VERIFY_WAIT : TR_VERIFY_NOW;
     189        tr_torrentSetVerifyState( tor, verifyList ? TR_VERIFY_WAIT : TR_VERIFY_NOW );
    191190        tr_list_append( &verifyList, node );
    192191        if( verifyThread == NULL )
Note: See TracChangeset for help on using the changeset viewer.