From 00a4156fdf2b12fa94d51b10247937d9469f4016 Mon Sep 17 00:00:00 2001 From: charsyam Date: Sat, 24 Sep 2016 15:53:57 +0900 Subject: [PATCH] Simple change just using slaves instead of server.slaves --- src/replication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replication.c b/src/replication.c index fb96fac1b..67091dd0b 100644 --- a/src/replication.c +++ b/src/replication.c @@ -244,7 +244,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) { } /* Write the command to every slave. */ - listRewind(server.slaves,&li); + listRewind(slaves,&li); while((ln = listNext(&li))) { client *slave = ln->value;