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 0e72cc601f
commit 3eab283b65

View File

@ -254,7 +254,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);
}
}