From c3e960aa866da823008f50134095a766ebf7c518 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 24 Sep 2007 19:38:27 +0000 Subject: [PATCH] fixes problem with torrents that have a name.utf-8 entry --- libtorrent/src/torrent_info.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libtorrent/src/torrent_info.cpp b/libtorrent/src/torrent_info.cpp index d6dc27fa2..c110aca3c 100755 --- a/libtorrent/src/torrent_info.cpp +++ b/libtorrent/src/torrent_info.cpp @@ -400,9 +400,7 @@ namespace libtorrent { if (i->first == "pieces" || i->first == "piece length" - || i->first == "length" -// || i->first == "files" - || i->first == "name") + || i->first == "length") continue; m_extra_info[i->first] = i->second; } @@ -903,3 +901,4 @@ namespace libtorrent } } +