From: antirez Date: Mon, 17 Oct 2011 14:39:05 +0000 (+0200) Subject: Fixed a typo causing segfault on MIGRATE X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/bfbc16ae8321603ce527012f6c33fd7619ad9b09?ds=inline;hp=-c Fixed a typo causing segfault on MIGRATE --- bfbc16ae8321603ce527012f6c33fd7619ad9b09 diff --git a/src/cluster.c b/src/cluster.c index f043d1f8..45f5425a 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); }