diff options
author | antirez <antirez@gmail.com> | 2013-08-12 11:50:54 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-08-12 11:51:35 +0200 |
commit | aa05128f51baf8063606770b608432e9ffd96981 (patch) | |
tree | c766f62654a200dc0cb6616fd003bc90129fd128 | |
parent | 610224d0d0409b337ee3435ac77720dc59f5fd80 (diff) | |
download | redis-aa05128f51baf8063606770b608432e9ffd96981.tar.gz |
Fix a PSYNC bug caused by a variable name typo.
-rw-r--r-- | src/replication.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/replication.c b/src/replication.c index d9e26039c..487d3d4f9 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); } } |