From 7bbb0e4e6c2ef28546bc3c6f325269c0f741459a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 24 Sep 2013 15:33:25 +0000 Subject: [PATCH] don't use random_seed in test_dht --- test/test_dht.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/test_dht.cpp b/test/test_dht.cpp index dbf2fe057..47a951011 100644 --- a/test/test_dht.cpp +++ b/test/test_dht.cpp @@ -38,7 +38,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/socket_io.hpp" // for hash_address #include "libtorrent/broadcast_socket.hpp" // for supports_ipv6 #include "libtorrent/alert_dispatcher.hpp" -#include "libtorrent/random.hpp" #include "libtorrent/kademlia/node_id.hpp" #include "libtorrent/kademlia/routing_table.hpp" @@ -318,8 +317,6 @@ struct print_alert : alert_dispatcher // TODO: 3 test find_data, obfuscated_get_peers and bootstrap int test_main() { - libtorrent::random_seed(1936584); - dht_settings sett; sett.max_torrents = 4; sett.max_dht_items = 4;