Commit fa2dc4b6 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #3514 from charsyam/feature/simple-refactoring

Simple change just using slaves instead of server.slaves
parents 25811bc9 ca6fc4f0
......@@ -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;
......
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