diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-07-26 15:15:55 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-07-26 15:15:55 -0400 |
commit | a139ed74f2a5764afbd678c0e4eb6143455a3a49 (patch) | |
tree | 8c857412b7384011d24ef43b2b8d87b77d0c3900 /src | |
parent | aa7c5e7ceb87d0309349b89c1ad5e388cf6828a4 (diff) |
CAddrDB::LoadAddresses: properly initialize CAddress
Fixes issue #424
Diffstat (limited to 'src')
-rw-r--r-- | src/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cpp b/src/db.cpp index 6692db239f..9c8c9c4f73 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -528,7 +528,7 @@ bool CAddrDB::LoadAddresses() char psz[1000]; while (fgets(psz, sizeof(psz), filein)) { - CAddress addr(psz, NODE_NETWORK); + CAddress addr(psz, false, NODE_NETWORK); addr.nTime = 0; // so it won't relay unless successfully connected if (addr.IsValid()) AddAddress(addr); |