mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
fixes problem with torrents that have a name.utf-8 entry
This commit is contained in:
parent
33a99c140e
commit
c3e960aa86
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue