mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
reference instead of copy, removing forgotten cout
This commit is contained in:
1 parent
4aad11f003
commit
ba5953bc6b
2 files changed
+1
-2
No files matched your search
@@ -172,7 +172,6 @@ void cmd_loop(DhtRunner& dht, dht_params& params)
|
||||
});
|
||||
}
|
||||
else if (op == "l") {
|
||||
std::cout << id << std::endl;
|
||||
dht.listen(id, [](std::shared_ptr<Value> value) {
|
||||
std::cout << "Listen: found value:" << std::endl;
|
||||
std::cout << "\t" << *value << std::endl;
|
||||
|
||||
Reference in new issue
Block a user