diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/Torrents.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/Torrents.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/Torrents.cpp 2026-09-18 19:52:57.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/Torrents.cpp 2026-09-18 19:40:48.000000000 +0000 @@ -434,5 +434,5 @@ Torrent::Torrent (std::string_view buf): Torrent () { - if (!ParseDictionary (buf, [this](std::string_view key, std::string_view buf)->size_t + ParseDictionary (buf, [this](std::string_view key, std::string_view buf)->size_t { if (key == "announce") @@ -445,6 +445,5 @@ return ParseInfo (buf); return 0; - })) - m_Error = eTorrentErrorMalformedMetaInfo; + }); } @@ -541,9 +540,5 @@ return 0; }); - if (!len) - { - m_Error = eTorrentErrorMalformedMetaInfo; - return 0; - } + if (!len) return 0; if (m_IsSingleFile && !m_Name.empty ()) // single file m_Files.emplace_back (std::make_shared (m_Name, m_Length));