summaryrefslogtreecommitdiff
path: root/src/replication.c
diff options
context:
space:
mode:
authorcharsyam <charsyam@naver.com>2016-09-24 15:53:57 +0900
committercharsyam <charsyam@naver.com>2016-09-24 15:53:57 +0900
commitca6fc4f0314d5d899cab8f19f9807d867ac3676d (patch)
tree61758bd7999f2efdda870e5e2b6495f17a593788 /src/replication.c
parent6e866ee05e49ab93e626b5a576e4c0f28cca71f0 (diff)
downloadredis-ca6fc4f0314d5d899cab8f19f9807d867ac3676d.tar.gz
Simple change just using slaves instead of server.slaves
Diffstat (limited to 'src/replication.c')
-rw-r--r--src/replication.c2
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;