From a772747ffcacce26561af8902fa3c5414f854811 Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Thu, 6 Mar 2014 12:27:13 -0500 Subject: [PATCH] Cluster: Notify user on accept error If we woke up to accept a connection, but we can't accept it, inform the user of the error going on with their networking. (The previous message was the same for success or error!) --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index 0ace10a2..6fc02862 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -593,7 +593,7 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) { if (cfd == ANET_ERR) { if (errno != EWOULDBLOCK) redisLog(REDIS_VERBOSE, - "Accepting cluster node: %s", server.neterr); + "Error accepting cluster node: %s", server.neterr); return; } anetNonBlock(NULL,cfd);