fix_dht mutable get test

This commit is contained in:
Steven Siloti 2015-08-10 20:05:04 -07:00
parent e557e63d05
commit 29ba738876
1 changed files with 2 additions and 0 deletions

View File

@ -408,6 +408,8 @@ int g_put_count;
bool get_item_cb(dht::item& i, bool a)
{
// only count authoritative data
if (!a) return false;
if (!i.empty())
g_got_items.push_back(i);
if (!g_put_item.empty())