Ignore:
Timestamp:
Nov 16, 2007, 8:41:41 PM (15 years ago)
Author:
charles
Message:

try to fix the platform.c:278 issue reported by dave in http://transmission.m0k.org/forum/viewtopic.php?t=2949

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r3833 r3840  
    10471047}
    10481048
     1049static void
     1050torrentRecheckDoneImpl( void * vtor )
     1051{
     1052    tr_torrentRecheckCompleteness( vtor );
     1053}
     1054static void
     1055torrentRecheckDoneCB( tr_torrent * tor )
     1056{
     1057    tr_runInEventThread( tor->handle, torrentRecheckDoneImpl, tor );
     1058}
    10491059void
    10501060tr_torrentRecheck( tr_torrent * tor )
     
    10561066    tr_bitfieldAddRange( tor->uncheckedPieces, 0, tor->info.pieceCount );
    10571067
    1058     tr_ioRecheckAdd( tor, tr_torrentRecheckCompleteness );
     1068    tr_ioRecheckAdd( tor, torrentRecheckDoneCB );
    10591069
    10601070    tr_globalUnlock( tor->handle );
Note: See TracChangeset for help on using the changeset viewer.