From c853239a5e803f413163ee4080a6a7667c0eb446 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 24 May 2013 18:41:43 +0200 Subject: [PATCH] Top comment for prepareClientToWrite() clarified. We don't write the output buffer to the client socket for slaves only if the slave is not online. --- src/networking.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networking.c b/src/networking.c index 1fd803b6..64298c4e 100644 --- a/src/networking.c +++ b/src/networking.c @@ -117,8 +117,8 @@ redisClient *createClient(int fd) { * loop so that when the socket is writable new data gets written. * * If the client should not receive new data, because it is a fake client - * or a slave, or because the setup of the write handler failed, the function - * returns REDIS_ERR. + * or a slave not yet online, or because the setup of the write handler + * failed, the function returns REDIS_ERR. * * Typically gets called every time a reply is built, before adding more * data to the clients output buffers. If the function returns REDIS_ERR no