From 0a87e41c66c7aab7d6bb134a9353d9c8a895e3b2 Mon Sep 17 00:00:00 2001 From: Nanquitas Date: Thu, 5 Jul 2018 22:01:53 +0200 Subject: [PATCH] socAccept: Fix an omitted comment, which masked a condition --- sysmodules/rosalina/source/minisoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/rosalina/source/minisoc.c b/sysmodules/rosalina/source/minisoc.c index 06f04cc..d41fb6d 100644 --- a/sysmodules/rosalina/source/minisoc.c +++ b/sysmodules/rosalina/source/minisoc.c @@ -314,7 +314,7 @@ int socAccept(int sockfd, struct sockaddr *addr, socklen_t *addrlen) if(ret == 0) ret = _net_convert_error(cmdbuf[2]); - if(ret < 0) + // if(ret < 0) //errno = -ret; if(ret >= 0 && addr != NULL)