aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-10-25 12:36:38 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-25 12:37:05 +0200
commitf14f07cb94eba37900ce6780f34d0438ad6322ab (patch)
tree75af769875f398ec4b8c315370ee812bcaad3c42 /src/net.cpp
parente1d1f57b56b28b1dd211433fb877f4969af15e52 (diff)
parentfa1c3c2eb0a1853ed0e0662fc2bdbca51e05ccf5 (diff)
Merge #9008: [net] Remove assert(nMaxInbound > 0)
fa1c3c2 [net] Remove assert(nMaxInbound > 0) (MarcoFalke)
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 953377a9f0..48ba9588d9 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -970,7 +970,6 @@ void CConnman::AcceptConnection(const ListenSocket& hListenSocket) {
CAddress addr;
int nInbound = 0;
int nMaxInbound = nMaxConnections - (nMaxOutbound + nMaxFeeler);
- assert(nMaxInbound > 0);
if (hSocket != INVALID_SOCKET)
if (!addr.SetSockAddr((const struct sockaddr*)&sockaddr))