1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-30 10:52:00 +00:00

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

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) if (auto corrupt = int64_t{}; tr_variantDictFindInt(t, TR_KEY_corruptEver, &corrupt) && corrupt != 0)
{ {