X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/eab0e26e03fa3c27a4e1172659cea32e1b83699e..794e6ce14ff85f00b0d3e86365e9cc45a90d3bcf:/src/sort.c?ds=sidebyside diff --git a/src/sort.c b/src/sort.c index da31b1b5..f70810b9 100644 --- a/src/sort.c +++ b/src/sort.c @@ -238,7 +238,7 @@ void sortCommand(redisClient *c) { dictEntry *setele; di = dictGetIterator(set); while((setele = dictNext(di)) != NULL) { - vector[j].obj = dictGetEntryKey(setele); + vector[j].obj = dictGetKey(setele); vector[j].u.score = 0; vector[j].u.cmpobj = NULL; j++;