Simple change just using slaves instead of server.slaves

This commit is contained in:
charsyam 2016-09-24 15:53:57 +09:00
parent 6e866ee05e
commit ca6fc4f031

View File

@ -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;