fixes problem with torrents that have a name.utf-8 entry
This commit is contained in:
parent
33a99c140e
commit
c3e960aa86
|
@ -400,9 +400,7 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
if (i->first == "pieces"
|
if (i->first == "pieces"
|
||||||
|| i->first == "piece length"
|
|| i->first == "piece length"
|
||||||
|| i->first == "length"
|
|| i->first == "length")
|
||||||
// || i->first == "files"
|
|
||||||
|| i->first == "name")
|
|
||||||
continue;
|
continue;
|
||||||
m_extra_info[i->first] = i->second;
|
m_extra_info[i->first] = i->second;
|
||||||
}
|
}
|
||||||
|
@ -903,3 +901,4 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue