On 6/10/09, Jeremy Kerr <jk(at)ozlabs(dot)org> wrote:> + int optval;
> + if (!setsockopt(conn->sock, SOL_SOCKET, SO_NOSIGPIPE,> + (char *)&optval, sizeof(optval)))
optval seems used without initialization.
But generally, I like it. +1
-- marko