Skip to content

Commit

Permalink
MIGRATE +NOKEY error was missing the final CRLF causing a protocol er…
Browse files Browse the repository at this point in the history
…ror.
  • Loading branch information
antirez committed Oct 17, 2011
1 parent bfbc16a commit e0aab1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.c
Expand Up @@ -1530,7 +1530,7 @@ void migrateCommand(redisClient *c) {
* nothing to migrate (for instance the key expired in the meantime), but
* we include such information in the reply string. */
if ((o = lookupKeyRead(c->db,c->argv[3])) == NULL) {
addReplySds(c,sdsnew("+NOKEY"));
addReplySds(c,sdsnew("+NOKEY\r\n"));
return;
}

Expand Down

0 comments on commit e0aab1f

Please sign in to comment.