Commit e0aab1fc authored by antirez's avatar antirez
Browse files

MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.

parent bfbc16ae
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment