socAccept: Fix an omitted comment, which masked a condition

This commit is contained in:
Nanquitas 2018-07-05 22:01:53 +02:00
parent bec8daf028
commit 0a87e41c66

View File

@ -314,7 +314,7 @@ int socAccept(int sockfd, struct sockaddr *addr, socklen_t *addrlen)
if(ret == 0) if(ret == 0)
ret = _net_convert_error(cmdbuf[2]); ret = _net_convert_error(cmdbuf[2]);
if(ret < 0) // if(ret < 0)
//errno = -ret; //errno = -ret;
if(ret >= 0 && addr != NULL) if(ret >= 0 && addr != NULL)