mirror of
https://github.com/transmission/transmission
synced 2025-03-12 07:03:44 +00:00
fix: Take into account only the private that is inside info. (#7313)
This commit is contained in:
parent
713a96ffa1
commit
1a38830ada
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ struct MetainfoHandler final : public transmission::benc::BasicHandler<MaxBencDe
|
|||
{
|
||||
tm_.date_created_ = value;
|
||||
}
|
||||
else if (pathIs(PrivateKey) || pathIs(InfoKey, PrivateKey))
|
||||
else if (pathIs(InfoKey, PrivateKey))
|
||||
{
|
||||
tm_.is_private_ = value != 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue