mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 14:01:34 +00:00
Use specialized function to add status and error replies
This commit is contained in:
@ -249,7 +249,7 @@ void hmsetCommand(redisClient *c) {
|
||||
robj *o;
|
||||
|
||||
if ((c->argc % 2) == 1) {
|
||||
addReplySds(c,sdsnew("-ERR wrong number of arguments for HMSET\r\n"));
|
||||
addReplyError(c,"wrong number of arguments for HMSET");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user