Revert "Fixed typo in SCAN comment. iff -> if."
Probably here Pieter means "if and only if". This reverts commit 0a970b93e911c0ece1fa2551ade71e122d8c01e1.
This commit is contained in:
parent
7bd87839c1
commit
fe0ffe6a1c
2
src/db.c
2
src/db.c
@ -362,7 +362,7 @@ void scanCommand(redisClient *c) {
|
|||||||
pat = c->argv[i+1]->ptr;
|
pat = c->argv[i+1]->ptr;
|
||||||
patlen = sdslen(pat);
|
patlen = sdslen(pat);
|
||||||
|
|
||||||
/* The pattern is a no-op if == "*" */
|
/* The pattern is a no-op iff == "*" */
|
||||||
patnoop = (pat[0] == '*' && patlen == 1);
|
patnoop = (pat[0] == '*' && patlen == 1);
|
||||||
|
|
||||||
i += 2;
|
i += 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user