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-08-25 01:29:08.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/Torrents.cpp 2026-08-25 01:26:22.000000000 +0000 @@ -1657,11 +1657,4 @@ LogPrint (eLogError, "Torrents: Can't open file ", torrentFilePath); - if (torrent && !torrent->IsValid ()) - { - // a torrent whose parsing stopped, an unsafe name among the rest, must - // not be used even in part: it would leave stray files behind - LogPrint (eLogError, "Torrents: Invalid torrent file ", torrentFilePath, ". Skipped"); - torrent = nullptr; - } if (torrent) { diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/Torrents.h /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/Torrents.h --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/Torrents.h 2026-08-25 01:29:08.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/Torrents.h 2026-08-25 01:26:22.000000000 +0000 @@ -173,5 +173,4 @@ std::string_view GetAnnounce () const { return m_Announce; } std::string_view GetName () const { return m_Name; } - bool IsValid () const { return !m_Name.empty () && m_PieceLength && (m_Length || !m_Files.empty ()); } const std::filesystem::path& GetFullPath () const { return m_FullPath; } void SetFullPath (const std::filesystem::path& fullPath) { m_FullPath = fullPath; }