(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:
parent
8895a06815
commit
ca229e5482
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
Loading…
Reference in New Issue