mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
Merge pull request #2575 from csoler/v0.6-FriendServer2
Fixing FriendServer
This commit is contained in:
commit
37c781aa9f
2 changed files with 4 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 47548627adddc444a5d36368bd7a5f5baeed17ba
|
Subproject commit 55efaf9c730859ef3fc5c6f6049595c1225f9204
|
|
@ -134,7 +134,9 @@ bool FsNetworkInterface::checkForNewConnections()
|
||||||
|
|
||||||
if(clintConnt < 0)
|
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;
|
;//RsErr()<< "Incoming connection with nothing to read!" << std::endl;
|
||||||
else
|
else
|
||||||
RsErr()<< "Error when accepting connection." << std::endl;
|
RsErr()<< "Error when accepting connection." << std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue