diff options
| author | Jeff Garzik <[email protected]> | 2011-07-26 15:15:55 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2011-07-26 15:15:55 -0400 |
| commit | a139ed74f2a5764afbd678c0e4eb6143455a3a49 (patch) | |
| tree | 8c857412b7384011d24ef43b2b8d87b77d0c3900 /src/db.cpp | |
| parent | Merge pull request #435 from sipa/fixextract (diff) | |
| download | discoin-a139ed74f2a5764afbd678c0e4eb6143455a3a49.tar.xz discoin-a139ed74f2a5764afbd678c0e4eb6143455a3a49.zip | |
CAddrDB::LoadAddresses: properly initialize CAddress
Fixes issue #424
Diffstat (limited to 'src/db.cpp')
| -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 6692db239..9c8c9c4f7 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); |