summaryrefslogtreecommitdiff
path: root/src/cluster.c
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-03-06 12:27:13 -0500
committerMatt Stancliff <matt@genges.com>2014-12-17 10:49:32 -0500
commita772747ffcacce26561af8902fa3c5414f854811 (patch)
tree958d1ee7b72d61437c4ecabfb1234460a6a88937 /src/cluster.c
parent25b06cd3ce94e595d6a043dead449d6c6ea362e1 (diff)
downloadredis-a772747ffcacce26561af8902fa3c5414f854811.tar.gz
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!)
Diffstat (limited to 'src/cluster.c')
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index 0ace10a2a..6fc028627 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);