From: antirez Date: Thu, 8 Apr 2010 14:07:18 +0000 (+0200) Subject: -1 not needed... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/10c2baa50a21eae161edd76c211b6728d06173b9 -1 not needed... --- diff --git a/redis.c b/redis.c index 00dc6ccc..f3db2426 100644 --- a/redis.c +++ b/redis.c @@ -5092,7 +5092,7 @@ static int zslRandomLevel(void) { int level = 1; while ((random()&0xFFFF) < (ZSKIPLIST_P * 0xFFFF)) level += 1; - return (level