fixes bencode type check on tracker responses. Might fix #398

This commit is contained in:
Arvid Norberg 2008-09-20 15:25:46 +00:00
parent 97f107a7fd
commit e46f2396cf
1 changed files with 1 additions and 1 deletions

View File

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