more DHT fixes and simplifications

This commit is contained in:
Arvid Norberg
2009-10-09 02:34:25 +00:00
parent fdb3b355ad
commit 474566fa21
8 changed files with 52 additions and 43 deletions

View File

@@ -1394,9 +1394,10 @@ int main(int argc, char* argv[])
for (std::vector<dht_lookup>::iterator i = sess_stat.active_requests.begin()
, end(sess_stat.active_requests.end()); i != end; ++i)
{
snprintf(str, sizeof(str), " %s in flight: %d [limit: %d] timeouts %d responses %d\n"
snprintf(str, sizeof(str)
, " %s in flight: %d [limit: %d] timeouts %d responses %d left %d\n"
, i->type, i->outstanding_requests, i->branch_factor, i->timeouts
, i->responses);
, i->responses, i->nodes_left);
out += str;
}
}