fix typo in sort.c

This commit is contained in:
gosth 2019-12-18 15:18:02 +08:00
parent b7c78b7651
commit ca1f70e51e
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ robj *lookupKeyByPattern(redisDb *db, robj *pattern, robj *subst, int writeflag)
if (fieldobj) {
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. */
o = hashTypeGetValueObject(o, fieldobj->ptr);
} else {