diff --git a/fanout.c b/fanout.c index 6edfd925e7cab0908d25eb78e61e5f89e7c3d5e5..9ae52897bb02d94fe12bfe0b4268c2d202d85132 100644 --- a/fanout.c +++ b/fanout.c @@ -916,11 +916,11 @@ void shutdown_client (struct client *c) remove_client (c); if (shutdown (c->fd, 2) == -1) { - fanout_error ("ERROR calling shutdown on client"); + fanout_debug (1, "ERROR calling shutdown on client %d\n", c->fd); } clear_socket_buffer (c->fd); if (close (c->fd) == -1) { - fanout_error ("ERRRO closing the socket"); + fanout_debug (1, "ERROR closing the socket on client %d\n", c->fd); } destroy_client (c); }