aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-04-24 15:51:54 +0200
committerWladimir J. van der Laan <[email protected]>2015-04-24 16:11:23 +0200
commitb9311fb6312075744418942e143325ec1f66dd5c (patch)
tree62d9f0be6b1be0206d01d96558351557075a6c96 /src/net.cpp
parentMerge pull request #6036 (diff)
parentnLastTry is only used for addrman entries (diff)
downloaddiscoin-b9311fb6312075744418942e143325ec1f66dd5c.tar.xz
discoin-b9311fb6312075744418942e143325ec1f66dd5c.zip
Merge pull request #6028
1d5b47a nLastTry is only used for addrman entries (Pieter Wuille)
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 48e6367f2..e5f67262c 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1221,7 +1221,7 @@ void ThreadOpenConnections()
int nTries = 0;
while (true)
{
- CAddress addr = addrman.Select();
+ CAddrInfo addr = addrman.Select();
// if we selected an invalid address, restart
if (!addr.IsValid() || setConnected.count(addr.GetGroup()) || IsLocal(addr))