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:
parent
34881f6295
commit
998d4c514b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue