1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00

fixup! refactor: make parts of tr file private (#2241)

This commit is contained in:
Charles Kerr 2021-11-27 23:08:56 -06:00
parent 34881f6295
commit 998d4c514b

View file

@ -386,7 +386,7 @@ static void addFileStats(tr_torrent const* tor, tr_variant* list)
{
auto const file = tr_torrentFile(tor, i);
tr_variant* d = tr_variantListAddDict(list, 3);
tr_variantDictAddInt(d, TR_KEY_bytesCompleted, file.length);
tr_variantDictAddInt(d, TR_KEY_bytesCompleted, file.have);
tr_variantDictAddInt(d, TR_KEY_priority, file.priority);
tr_variantDictAddBool(d, TR_KEY_wanted, file.wanted);
}