(trunk libT) #2160: fix 1.60 error when setting file wanted/not-wanted flags when adding a new torrent via RPC. reported by anf6

This commit is contained in:
Charles Kerr 2009-06-03 16:59:32 +00:00
parent 8895a06815
commit ca229e5482
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ tr_ctorInitTorrentWanted( const tr_ctor * ctor, tr_torrent * tor )
if( ctor->notWantSize ) if( ctor->notWantSize )
tr_torrentInitFileDLs( tor, ctor->notWant, ctor->notWantSize, FALSE ); tr_torrentInitFileDLs( tor, ctor->notWant, ctor->notWantSize, FALSE );
if( ctor->wantSize ) if( ctor->wantSize )
tr_torrentInitFileDLs( tor, ctor->notWant, ctor->wantSize, TRUE ); tr_torrentInitFileDLs( tor, ctor->want, ctor->wantSize, TRUE );
} }
/*** /***