Skip to content

Commit

Permalink
fix typo in sort.c
Browse files Browse the repository at this point in the history
  • Loading branch information
gosth committed Dec 18, 2019
1 parent b7c78b7 commit ca1f70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca1f70e

Please sign in to comment.