From: antirez Date: Fri, 23 Oct 2009 20:39:25 +0000 (+0200) Subject: zrange now starts to work. zadd still does not support update and will crash or leak... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/0aad7a1938c015c59d7ccdedd3dae8c2132170db zrange now starts to work. zadd still does not support update and will crash or leak or b000mmmmm --- diff --git a/redis.c b/redis.c index a28ef491..65e62172 100644 --- a/redis.c +++ b/redis.c @@ -3865,7 +3865,7 @@ static void zrangeCommand(redisClient *c) { addReplySds(c,sdscatprintf(sdsempty(),"*%d\r\n",rangelen)); for (j = 0; j < rangelen; j++) { - ele = ln->forward[0]->obj; + ele = ln->obj; addReplyBulkLen(c,ele); addReply(c,ele); addReply(c,shared.crlf);