diff options
author | antirez <antirez@gmail.com> | 2011-10-17 16:39:05 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-10-17 16:39:05 +0200 |
commit | bfbc16ae8321603ce527012f6c33fd7619ad9b09 (patch) | |
tree | f1dc0eb378feb8e92111f67fce29549fc5715bfd /src/cluster.c | |
parent | c0875a77a14d417f76b4419127733929ace587ee (diff) | |
download | redis-bfbc16ae8321603ce527012f6c33fd7619ad9b09.tar.gz |
Fixed a typo causing segfault on MIGRATE
Diffstat (limited to 'src/cluster.c')
-rw-r--r-- | src/cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c index f043d1f83..45f5425a4 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1602,7 +1602,7 @@ void migrateCommand(redisClient *c) { server.dirty++; /* Translate MIGRATE as DEL for replication/AOF. */ - aux = createStringObject("DEL",2); + aux = createStringObject("DEL",3); rewriteClientCommandVector(c,2,aux,c->argv[3]); decrRefCount(aux); } |