X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/1b508da7ca7cb8e999a557bd0bf18875e0a40972..9d7165e885b3de44577dea2917bb4f3afa2ed335:/src/sort.c?ds=sidebyside diff --git a/src/sort.c b/src/sort.c index 355a0db6..a44a6d63 100644 --- a/src/sort.c +++ b/src/sort.c @@ -76,7 +76,7 @@ robj *lookupKeyByPattern(redisDb *db, robj *pattern, robj *subst) { /* Retrieve value from hash by the field name. This operation * already increases the refcount of the returned object. */ initStaticStringObject(fieldobj,((char*)&fieldname)+(sizeof(struct sdshdr))); - o = hashTypeGet(o, &fieldobj); + o = hashTypeGetObject(o, &fieldobj); } else { if (o->type != REDIS_STRING) return NULL;