antirez/hiredis — Issue #93: zscore not working?
Author: zenwong
Created: 2012-03-01 13:54:29+00:00
State: open

Trying to get zscore to work, but I can't get back an int. I can successfully get back correct int results in redis-cli. this is the format of the command I'm using:

r = redisCommand(c, "zscore users zen");

but it receives a REDIS_REPLY_STRING type back, when I check r->type. when I try the same command with zrank I can get back the correct int. I'm using the lastest version from master branch.