fix DHT bug

This commit is contained in:
Arvid Norberg 2010-03-12 03:18:17 +00:00
parent 116c3f3c45
commit a29928de8b
1 changed files with 2 additions and 2 deletions

View File

@ -842,8 +842,8 @@ void node_impl::incoming_request(msg const& m, entry& e)
{"token", lazy_entry::string_t, 0, 0},
};
lazy_entry const* msg_keys[4];
if (!verify_message(arg_ent, msg_desc, msg_keys, 4, error_string, sizeof(error_string)))
lazy_entry const* msg_keys[5];
if (!verify_message(arg_ent, msg_desc, msg_keys, 5, error_string, sizeof(error_string)))
{
incoming_error(e, error_string);
return;