Rcrozier misc fixes
This merge request fixes an accidental breaking of inet sockets in an earlier commit which incorrectly checked for if(!serr)
instead of if(serr != 0)
. Actually if(serr)
would also work, but this always confuses me too, so I thought it better to be explicit. The PR also clarifies a similarly obtuse statement in sock.c
.