Hello Scott, On Sat, Nov 8, 2014 at 10:43 PM, Scott Harvey <scott.harvey@xxxxxxxxxxxxxx> wrote: > Hello, > > Under the BUGS section this code snippet appears: > > if (getsockname(sfd, (struct sockaddr *) addrp, &addrlen)) != -1) > /* handle error */ ; > > > This should be changed to == -1, or < 0, since getsockname(2) returns -1 on > error. > > Looks like just a simple typo. Yup. Thanks for reporting that. I applied a fix. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html