forked from premiere/premiere-libtorrent
fix DHT bug
This commit is contained in:
parent
116c3f3c45
commit
a29928de8b
|
@ -842,8 +842,8 @@ void node_impl::incoming_request(msg const& m, entry& e)
|
||||||
{"token", lazy_entry::string_t, 0, 0},
|
{"token", lazy_entry::string_t, 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
lazy_entry const* msg_keys[4];
|
lazy_entry const* msg_keys[5];
|
||||||
if (!verify_message(arg_ent, msg_desc, msg_keys, 4, error_string, sizeof(error_string)))
|
if (!verify_message(arg_ent, msg_desc, msg_keys, 5, error_string, sizeof(error_string)))
|
||||||
{
|
{
|
||||||
incoming_error(e, error_string);
|
incoming_error(e, error_string);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue