mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Use addReplyErrorObject with shared.syntaxerror (#8248)
This commit is contained in:
parent
c4b52fc7c9
commit
e18068d9d8
2
src/db.c
2
src/db.c
@ -1208,7 +1208,7 @@ void copyCommand(client *c) {
|
||||
selectDb(c,srcid); /* Back to the source DB */
|
||||
j++; /* Consume additional arg. */
|
||||
} else {
|
||||
addReply(c, shared.syntaxerr);
|
||||
addReplyErrorObject(c,shared.syntaxerr);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user