one more uninitialized member

This commit is contained in:
Arvid Norberg 2012-05-03 03:56:40 +00:00
parent f49d79b1f1
commit cf49986e1a
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ struct torrent_entry
struct dht_immutable_item
{
dht_immutable_item() : value(0), num_announcers(0) {}
dht_immutable_item() : value(0), num_announcers(0), size(0) {}
// malloced space for the actual value
char* value;
// this counts the number of IPs we have seen