diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-02 14:30:56 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-02 19:52:04 +0200 |
commit | b70d355521fd02737c4de2a1583025699f1554f8 (patch) | |
tree | 9d27d0634415f4b0e24f5d4fe108bba925358916 /src/t_set.c | |
parent | cd76bb651ddc9168451e6729fdf7793eb628f57c (diff) | |
download | redis-b70d355521fd02737c4de2a1583025699f1554f8.tar.gz |
Use existing reply functions where possible
Diffstat (limited to 'src/t_set.c')
-rw-r--r-- | src/t_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_set.c b/src/t_set.c index 17cac934c..e2ac5ae53 100644 --- a/src/t_set.c +++ b/src/t_set.c @@ -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) { |