Fix print of the lookup output

This commit is contained in:
kaldoran authored and Adrien Béraud committed 2016-09-01 18:02:23 -04:00
1 parent 73df308250
commit 2d8fe502f2
3 files changed
+145 -63

No files matched your search

+1 -1
View File
@@ -284,7 +284,7 @@ void cmd_loop(std::shared_ptr<DhtRunner>& dht, std::map<std::string, indexation:
if (vals.empty())
return;
std::cout << "Pht::lookup: found entries!" << std::endl
<< " prefix: \"" << p.toString() << "\"" << std::endl
<< p.toString() << std::endl
<< " hash: " << p.hash() << std::endl;
std::cout << " entries:" << std::endl;
for (auto v : vals)