From c8b5611386ca96be1c17745946647a6cce4f9c92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <>
Date: Sun, 24 Mar 2024 15:45:49 -0400
Subject: [PATCH] dhtnode: fix small typo in put encrypted log

---
 tools/dhtnode.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/dhtnode.cpp b/tools/dhtnode.cpp
index 3ccaf138..5284aa56 100644
--- a/tools/dhtnode.cpp
+++ b/tools/dhtnode.cpp
@@ -449,7 +449,7 @@ void cmd_loop(std::shared_ptr<DhtRunner>& node, dht_params& params
             value->user_type = "text/plain";
             node->putEncrypted(id, InfoHash(tostr), std::move(value), [start](bool ok) {
                 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") {
-- 
GitLab