Unverified Commit e18068d9 authored by Itamar Haber's avatar Itamar Haber Committed by GitHub
Browse files

Use addReplyErrorObject with shared.syntaxerror (#8248)

parent c4b52fc7
......@@ -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;
}
}
......
......@@ -620,7 +620,7 @@ void georadiusGeneric(client *c, int srcKeyIndex, int flags) {
bybox = 1;
i += 3;
} else {
addReply(c, shared.syntaxerr);
addReplyErrorObject(c,shared.syntaxerr);
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