Commit 3eab283b authored by antirez's avatar antirez
Browse files

Fix a PSYNC bug caused by a variable name typo.

parent 0e72cc60
...@@ -254,7 +254,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) { ...@@ -254,7 +254,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
aux[len+1] = '\r'; aux[len+1] = '\r';
aux[len+2] = '\n'; aux[len+2] = '\n';
feedReplicationBacklog(aux,len+3); feedReplicationBacklog(aux,len+3);
feedReplicationBacklogWithObject(argv[j]); feedReplicationBacklogWithObject(argv[i]);
feedReplicationBacklogWithObject(shared.crlf); feedReplicationBacklogWithObject(shared.crlf);
} }
} }
......
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