mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 13:51:12 -05:00
fixed using of rs_socket_error()
This commit is contained in:
parent
e7b822d1cb
commit
af0bea49c5
@ -1 +1 @@
|
||||
Subproject commit 47548627adddc444a5d36368bd7a5f5baeed17ba
|
||||
Subproject commit 55efaf9c730859ef3fc5c6f6049595c1225f9204
|
@ -134,7 +134,9 @@ bool FsNetworkInterface::checkForNewConnections()
|
||||
|
||||
if(clintConnt < 0)
|
||||
{
|
||||
if(errno == EWOULDBLOCK)
|
||||
int err = rs_socket_error();
|
||||
|
||||
if(err == EWOULDBLOCK || err == EAGAIN)
|
||||
;//RsErr()<< "Incoming connection with nothing to read!" << std::endl;
|
||||
else
|
||||
RsErr()<< "Error when accepting connection." << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user