minor fix in ut_metadata

This commit is contained in:
Arvid Norberg 2013-08-21 07:55:29 +00:00
parent 245c1791cf
commit ec7809abb5
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ namespace libtorrent { namespace
int len;
entry msg = bdecode(body.begin, body.end, len);
if (msg.type() == entry::undefined_t)
if (msg.type() != entry::dictionary_t)
{
#ifdef TORRENT_VERBOSE_LOGGING
m_pc.peer_log("<== UT_METADATA [ not a dictionary ]");