mirror of
https://github.com/transmission/transmission
synced 2025-02-23 06:30:38 +00:00
(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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue