From: antirez Date: Tue, 24 May 2011 08:35:48 +0000 (+0200) Subject: Fixed typo in comment X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/d200342ac2730c27cd456a79cc9e8725eaf0c5c2 Fixed typo in comment --- diff --git a/src/t_zset.c b/src/t_zset.c index 19aac3d5..a5dc27c7 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -1521,7 +1521,7 @@ void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) { score = src[0].weight * zval.score; for (j = 1; j < setnum; j++) { - /* It is not safe to access the hash we zset we are + /* It is not safe to access the zset we are * iterating, so explicitly check for equal object. */ if (src[j].subject == src[0].subject) { value = zval.score*src[j].weight; @@ -1566,7 +1566,7 @@ void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) { /* Because the inputs are sorted by size, it's only possible * for sets at larger indices to hold this element. */ for (j = (i+1); j < setnum; j++) { - /* It is not safe to access the hash we zset we are + /* It is not safe to access the zset we are * iterating, so explicitly check for equal object. */ if(src[j].subject == src[i].subject) { value = zval.score*src[j].weight;