mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
merge bitcoin#23601: Don't check if the listening socket is valid
This commit is contained in:
parent
9b36ac6d5d
commit
0a58abab27
@ -1778,7 +1778,7 @@ void CConnman::SocketHandler()
|
||||
//
|
||||
for (const ListenSocket& hListenSocket : vhListenSocket)
|
||||
{
|
||||
if (hListenSocket.socket != INVALID_SOCKET && recv_set.count(hListenSocket.socket) > 0)
|
||||
if (recv_set.count(hListenSocket.socket) > 0)
|
||||
{
|
||||
AcceptConnection(hListenSocket);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user