Il 22/05/2012 12:45, Laszlo Ersek ha scritto: > + if (sock->has_fd + sock->has_listen + sock->has_connect + > sock->has_mcast + > + sock->has_udp != 1) {
Please add a cast, this doesn't work with C99 bool. Paolo > + error_report("exactly one of fd=, listen=, connect=, mcast= or udp=" > + " is required"); > + return -1; > + }