diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-25 12:36:38 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-25 12:37:05 +0200 |
commit | f14f07cb94eba37900ce6780f34d0438ad6322ab (patch) | |
tree | 75af769875f398ec4b8c315370ee812bcaad3c42 /src/net.cpp | |
parent | e1d1f57b56b28b1dd211433fb877f4969af15e52 (diff) | |
parent | fa1c3c2eb0a1853ed0e0662fc2bdbca51e05ccf5 (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.cpp | 1 |
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)) |