Commit 8cdaf604 authored by antirez's avatar antirez
Browse files

Fixed typo in SCAN comment. iff -> if.

parent 33409b4c
...@@ -354,7 +354,7 @@ void scanCommand(redisClient *c) { ...@@ -354,7 +354,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 iff == "*" */ /* The pattern is a no-op if == "*" */
patnoop = (pat[0] == '*' && patlen == 1); patnoop = (pat[0] == '*' && patlen == 1);
i += 2; i += 2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment