fixes problem with torrents that have a name.utf-8 entry

This commit is contained in:
Marcos Pinto 2007-09-24 19:38:27 +00:00
parent 33a99c140e
commit c3e960aa86
1 changed files with 2 additions and 3 deletions

View File

@ -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
}
}