fix: 'downloaded' field (#5265)

This commit is contained in:
hoimic 2023-03-20 22:42:32 +01:00 committed by GitHub
parent c60bb5b834
commit 652c4666dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@ static void printDetails(tr_variant* top)
}
}
if (tr_variantDictFindInt(t, TR_KEY_downloaded, &i))
if (tr_variantDictFindInt(t, TR_KEY_downloadedEver, &i))
{
if (auto corrupt = int64_t{}; tr_variantDictFindInt(t, TR_KEY_corruptEver, &corrupt) && corrupt != 0)
{