mirror of https://github.com/redis/redis.git
fix typo in sort.c
This commit is contained in:
parent
b7c78b7651
commit
ca1f70e51e
|
@ -115,7 +115,7 @@ robj *lookupKeyByPattern(redisDb *db, robj *pattern, robj *subst, int writeflag)
|
||||||
if (fieldobj) {
|
if (fieldobj) {
|
||||||
if (o->type != OBJ_HASH) goto noobj;
|
if (o->type != OBJ_HASH) goto noobj;
|
||||||
|
|
||||||
/* Retrieve value from hash by the field name. The returend object
|
/* Retrieve value from hash by the field name. The returned object
|
||||||
* is a new object with refcount already incremented. */
|
* is a new object with refcount already incremented. */
|
||||||
o = hashTypeGetValueObject(o, fieldobj->ptr);
|
o = hashTypeGetValueObject(o, fieldobj->ptr);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue