mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.
This commit is contained in:
parent
bfbc16ae83
commit
e0aab1fc79
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user