socAccept: Fix an omitted comment, which masked a condition
This commit is contained in:
parent
2127271b33
commit
dd6e071dde
@ -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)
|
||||||
|
Reference in New Issue
Block a user