From ca6fc4f0314d5d899cab8f19f9807d867ac3676d 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 fb96fac1..67091dd0 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;