From 0aad7a1938c015c59d7ccdedd3dae8c2132170db Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 23 Oct 2009 22:39:25 +0200 Subject: [PATCH] zrange now starts to work. zadd still does not support update and will crash or leak or b000mmmmm --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index a28ef4919..65e62172b 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);