return the peer list received from the tracker in dhtget

This commit is contained in:
Miguel Freitas 2014-07-01 21:44:43 -03:00
parent 5c203adea3
commit db62634635

View File

@ -137,8 +137,10 @@ void dht_get_observer::reply(msg const& m)
entry::dictionary_type v;
v["followers"] = followers;
const lazy_entry *values = r->dict_find_list("values");
if( values )
if( values ) {
v["values_size"] = values->list_size();
v["values"] = *values;
}
entry::dictionary_type target;
target["n"] = dget->m_targetUser;