Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
build_fh_dev (dev ());
if (sock && sock->set_socket_handle (res, get_addr_family (),
get_socket_type (),
- get_socket_flags ()))
+ get_socket_flags ()) == 0)
{
sock->async_io (false); /* set_socket_handle disables async. */
/* No locking necessary at this point. */
build_fh_dev (dev ());
if (sock && sock->set_socket_handle (res, get_addr_family (),
get_socket_type (),
- get_socket_flags ()))
+ get_socket_flags ()) == 0)
{
sock->async_io (false); /* set_socket_handle disables async. */
sock->set_sun_path (get_sun_path ());