Fixes to Coverity defects:
72643 72645 72655 72656 72657 72658 72664 72698 72712
This commit is contained in:
@ -225,7 +225,9 @@ int gw_getsockerrno(
|
||||
goto return_eno;
|
||||
}
|
||||
|
||||
getsockopt(fd, SOL_SOCKET, SO_ERROR, (void *)&eno, &elen);
|
||||
if(getsockopt(fd, SOL_SOCKET, SO_ERROR, (void *)&eno, &elen) != 0){
|
||||
eno = 0;
|
||||
}
|
||||
|
||||
return_eno:
|
||||
return eno;
|
||||
|
Reference in New Issue
Block a user