From aa05128f51baf8063606770b608432e9ffd96981 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 12 Aug 2013 11:50:54 +0200 Subject: [PATCH] Fix a PSYNC bug caused by a variable name typo. --- src/replication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replication.c b/src/replication.c index d9e26039..487d3d4f 100644 --- a/src/replication.c +++ b/src/replication.c @@ -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); } } -- GitLab