X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/1b508da7ca7cb8e999a557bd0bf18875e0a40972..e9bc56dbed149a29e031debc27bf25f2db991cc7:/src/sort.c 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;