if len == 0 {
// When there is a datagram from unnamed unix socket
// linux returns zero bytes of address
- len = sun_path_offset() as libc::socklen_t; // i.e. zero-length address
+ len = sun_path_offset() as libc::socklen_t; // i.e., zero-length address
} else if addr.sun_family != libc::AF_UNIX as libc::sa_family_t {
return Err(io::Error::new(io::ErrorKind::InvalidInput,
"file descriptor did not correspond to a Unix socket"));