From 4328326ca1661eddfb3b26715c4a40af8c0f67e3 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 31 Mar 2008 03:56:38 +0000 Subject: [PATCH] dht test fix --- test/test_primitives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_primitives.cpp b/test/test_primitives.cpp index bba402d41..b2e4c3af7 100644 --- a/test/test_primitives.cpp +++ b/test/test_primitives.cpp @@ -368,7 +368,7 @@ int test_main() std::vector temp; std::generate(tmp.begin(), tmp.end(), &std::rand); - table.find_node(tmp, temp, false, nodes.size()); + table.find_node(tmp, temp, false, nodes.size() + 1); std::cout << "returned: " << temp.size() << std::endl; TEST_CHECK(temp.size() == nodes.size());