socAccept: Fix an omitted comment, which masked a condition

This commit is contained in:
Nanquitas 2018-07-05 22:01:53 +02:00 committed by fincs
parent 2127271b33
commit dd6e071dde

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)