Commit ca6fc4f0 authored by charsyam's avatar charsyam
Browse files

Simple change just using slaves instead of server.slaves

parent 6e866ee0
...@@ -244,7 +244,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) { ...@@ -244,7 +244,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
} }
/* Write the command to every slave. */ /* Write the command to every slave. */
listRewind(server.slaves,&li); listRewind(slaves,&li);
while((ln = listNext(&li))) { while((ln = listNext(&li))) {
client *slave = ln->value; client *slave = ln->value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment