socAccept: Fix an omitted comment, which masked a condition
This commit is contained in:
parent
bec8daf028
commit
0a87e41c66
@ -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