Use existing reply functions where possible

This commit is contained in:
Pieter Noordhuis
2010-09-02 14:30:56 +02:00
parent cd76bb651d
commit b70d355521
7 changed files with 10 additions and 12 deletions

View File

@ -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) {