Fix a PSYNC bug caused by a variable name typo.

This commit is contained in:
antirez 2013-08-12 11:50:54 +02:00
parent 610224d0d0
commit aa05128f51

View File

@ -255,7 +255,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
aux[len+1] = '\r';
aux[len+2] = '\n';
feedReplicationBacklog(aux,len+3);
feedReplicationBacklogWithObject(argv[j]);
feedReplicationBacklogWithObject(argv[i]);
feedReplicationBacklogWithObject(shared.crlf);
}
}