From 3dc190da6ea5d59024e5333fbadb6cce5e98516b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 23 Oct 2009 20:29:26 +0000 Subject: [PATCH] dht fix --- include/libtorrent/kademlia/node.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libtorrent/kademlia/node.hpp b/include/libtorrent/kademlia/node.hpp index d48e0c956..6612701a6 100644 --- a/include/libtorrent/kademlia/node.hpp +++ b/include/libtorrent/kademlia/node.hpp @@ -104,6 +104,8 @@ struct torrent_entry // in the DHT. struct search_torrent_entry { + search_torrent_entry(): total_tag_points(0), total_name_points(0) {} + // the tags of the torrent. The key of // this entry is the sha-1 hash of one of // these tags. The counter is the number of