mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
fix: torrentGet.wanted RPC breaking change in [4.0.0..4.0.1] (#5170)
This commit is contained in:
@@ -853,7 +853,7 @@ void initField(tr_torrent const* const tor, tr_stat const* const st, tr_variant*
|
||||
tr_variantInitList(initme, n);
|
||||
for (tr_file_index_t i = 0; i < n; ++i)
|
||||
{
|
||||
tr_variantListAddBool(initme, tr_torrentFile(tor, i).wanted);
|
||||
tr_variantListAddInt(initme, tr_torrentFile(tor, i).wanted);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user