mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 01:44:14 +00:00
return the peer list received from the tracker in dhtget
This commit is contained in:
parent
5c203adea3
commit
db62634635
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user