diff options
author | charsyam <charsyam@naver.com> | 2016-09-24 15:53:57 +0900 |
---|---|---|
committer | charsyam <charsyam@naver.com> | 2016-09-24 15:53:57 +0900 |
commit | ca6fc4f0314d5d899cab8f19f9807d867ac3676d (patch) | |
tree | 61758bd7999f2efdda870e5e2b6495f17a593788 /src/replication.c | |
parent | 6e866ee05e49ab93e626b5a576e4c0f28cca71f0 (diff) | |
download | redis-ca6fc4f0314d5d899cab8f19f9807d867ac3676d.tar.gz |
Simple change just using slaves instead of server.slaves
Diffstat (limited to 'src/replication.c')
-rw-r--r-- | src/replication.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |