Skip to content
Snippets Groups Projects
Commit c8b56113 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

dhtnode: fix small typo in put encrypted log

parent f7e45332
No related branches found
No related tags found
No related merge requests found
...@@ -449,7 +449,7 @@ void cmd_loop(std::shared_ptr<DhtRunner>& node, dht_params& params ...@@ -449,7 +449,7 @@ void cmd_loop(std::shared_ptr<DhtRunner>& node, dht_params& params
value->user_type = "text/plain"; value->user_type = "text/plain";
node->putEncrypted(id, InfoHash(tostr), std::move(value), [start](bool ok) { node->putEncrypted(id, InfoHash(tostr), std::move(value), [start](bool ok) {
auto end = std::chrono::high_resolution_clock::now(); auto end = std::chrono::high_resolution_clock::now();
std::cout << "Put encrypted: " << (ok ? "success" : "failure") << " (took " << print_duration(end-start) << std::endl; std::cout << "Put encrypted: " << (ok ? "success" : "failure") << " (took " << print_duration(end-start) << ')' << std::endl;
}); });
} }
else if (op == "a") { else if (op == "a") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment