summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-09-30 17:41:52 +0200
committerantirez <antirez@gmail.com>2015-09-30 17:41:52 +0200
commit712ea7296dd92f3ccac15304373e8ea796851758 (patch)
treed93a242a9f3a70a77876f60505edd2687667cd33
parent01c08b508927adfb9ca6857db076c849f945e1be (diff)
downloadredis-fasterio.tar.gz
Call writeToClient() directly instead of the write handler.fasterio
-rw-r--r--src/networking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networking.c b/src/networking.c
index 7ec956765..d9dcd80e4 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -1751,7 +1751,7 @@ void flushSlavesOutputBuffers(void) {
slave->replstate == SLAVE_STATE_ONLINE &&
listLength(slave->reply))
{
- sendReplyToClient(server.el,slave->fd,slave,0);
+ writeToClient(slave->fd,slave,0);
}
}
}