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
1 changed files with 1 additions and 1 deletions

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);
}