forked from premiere/premiere-libtorrent
fixes bencode type check on tracker responses. Might fix #398
This commit is contained in:
parent
97f107a7fd
commit
e46f2396cf
|
@ -236,7 +236,7 @@ namespace libtorrent
|
|||
entry e;
|
||||
e = bdecode(data, data + size);
|
||||
|
||||
if (e.type() != entry::undefined_t)
|
||||
if (e.type() == entry::dictionary_t)
|
||||
{
|
||||
parse(parser.status_code(), e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue