1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

fix(remote): Don't draw "Yes" or "No" as an integer (#4624)

This commit is contained in:
Luukas Pörtfors 2023-01-21 20:42:53 +02:00 committed by GitHub
parent c03e9b1a8e
commit 7eef715105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1736,7 +1736,7 @@ static void printSession(tr_variant* top)
if (tr_variantDictFindBool(args, TR_KEY_utp_enabled, &boolVal)) if (tr_variantDictFindBool(args, TR_KEY_utp_enabled, &boolVal))
{ {
fmt::print(" µTP enabled: {:d}\n", (boolVal ? "Yes" : "No")); fmt::print(" µTP enabled: {:s}\n", boolVal ? "Yes" : "No");
} }
if (tr_variantDictFindBool(args, TR_KEY_dht_enabled, &boolVal)) if (tr_variantDictFindBool(args, TR_KEY_dht_enabled, &boolVal))