summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-11-08 17:07:55 +0100
committerantirez <antirez@gmail.com>2011-11-08 17:07:55 +0100
commitc0ba9ebe13865189a3b21f7be8a910e349b59fda (patch)
treeca836b0d89cf04306b428b24dba552d574488e15 /src/sort.c
parent71a50956b1ff6b45b8265afa8e7e0264c465cec8 (diff)
downloadredis-c0ba9ebe13865189a3b21f7be8a910e349b59fda.tar.gz
dict.c API names modified to be more coincise and consistent.
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index da31b1b53..f70810b9b 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++;