mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Use existing reply functions where possible
This commit is contained in:
@ -346,7 +346,7 @@ void hlenCommand(redisClient *c) {
|
||||
if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL ||
|
||||
checkType(c,o,REDIS_HASH)) return;
|
||||
|
||||
addReplyUlong(c,hashTypeLength(o));
|
||||
addReplyLongLong(c,hashTypeLength(o));
|
||||
}
|
||||
|
||||
void genericHgetallCommand(redisClient *c, int flags) {
|
||||
|
Reference in New Issue
Block a user