fixup! refactor: make piece checksums private (#2130) (#2136)

This commit is contained in:
Charles Kerr 2021-11-13 00:53:52 -06:00 committed by GitHub
parent 6571be2b95
commit 254d837ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -994,7 +994,8 @@ tr_parse_result tr_torrentParse(tr_ctor const* ctor, tr_info* setmeInfo)
if (setmeInfo != nullptr)
{
std::swap(*setmeInfo, parsed->info);
*setmeInfo = parsed->info;
parsed->info = {};
}
return TR_PARSE_OK;