mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 11:41:20 +00:00
Use existing reply functions where possible
This commit is contained in:
@ -276,7 +276,7 @@ void scardCommand(redisClient *c) {
|
||||
if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL ||
|
||||
checkType(c,o,REDIS_SET)) return;
|
||||
|
||||
addReplyUlong(c,setTypeSize(o));
|
||||
addReplyLongLong(c,setTypeSize(o));
|
||||
}
|
||||
|
||||
void spopCommand(redisClient *c) {
|
||||
|
Reference in New Issue
Block a user