From cd66042fd1fc6373d67df20442f2bfe83f05ca85 Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen <travisghansen@yahoo.com> Date: Wed, 17 Oct 2012 16:55:08 -0400 Subject: [PATCH] adjust error handling --- fanout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fanout.c b/fanout.c index 6edfd92..9ae5289 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); } -- GitLab