#include "completion.h"
#include "crypto.h" /* for tr_sha1 */
#include "resume.h"
-#include "fdlimit.h" /* tr_fdFileClose */
+#include "fdlimit.h" /* tr_fdTorrentClose */
#include "metainfo.h"
#include "peer-mgr.h"
#include "platform.h" /* TR_PATH_DELIMITER_STR */
changed = TRUE;
}
tr_torrentSetPieceChecked( tor, pieceIndex, TRUE );
+ tor->anyDate = time( NULL );
SHA1_Init( &sha );
++pieceIndex;
else
{
tr_free( tr_list_remove( &verifyList, tor, compareVerifyByTorrent ) );
- tor->verifyState = TR_VERIFY_NONE;
+ tr_torrentSetVerifyState( tor, TR_VERIFY_NONE );
}
tr_lockUnlock( lock );