]> git.saurik.com Git - redis.git/blobdiff - src/sort.c
Rename iterator to setTypeIterator for consistency
[redis.git] / src / sort.c
index 06696cc5312cc08221505dc67f10075e4bfd45d5..aa1ce929399dc64bfdbcccda95f1db3ae1b2c9c6 100644 (file)
@@ -220,7 +220,7 @@ void sortCommand(redisClient *c) {
         }
         listTypeReleaseIterator(li);
     } else if (sortval->type == REDIS_SET) {
-        setIterator *si = setTypeInitIterator(sortval);
+        setTypeIterator *si = setTypeInitIterator(sortval);
         robj *ele;
         while((ele = setTypeNext(si)) != NULL) {
             vector[j].obj = ele;