aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 06fc3fdb85..faa7b00281 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1021,7 +1021,6 @@ static void AcceptConnection(const ListenSocket& hListenSocket) {
CAddress addr;
int nInbound = 0;
int nMaxInbound = nMaxConnections - (MAX_OUTBOUND_CONNECTIONS + MAX_FEELER_CONNECTIONS);
- assert(nMaxInbound > 0);
if (hSocket != INVALID_SOCKET)
if (!addr.SetSockAddr((const struct sockaddr*)&sockaddr))