summaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-10-25 11:45:56 +0200
committerantirez <antirez@gmail.com>2013-10-25 11:46:02 +0200
commit43fdf3b404413f6e3b2c39ac491238c70ecee81c (patch)
tree05965f9449ed9a16fce5d1f3e98c6898d21ffbd0 /src/db.c
parent9c88ace9274d3291119204c98a1dc31384abcb56 (diff)
downloadredis-43fdf3b404413f6e3b2c39ac491238c70ecee81c.tar.gz
Fixed typo in SCAN comment. iff -> if.
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 9f6313f81..5719b164e 100644
--- a/src/db.c
+++ b/src/db.c
@@ -364,7 +364,7 @@ void scanCommand(redisClient *c) {
pat = c->argv[i+1]->ptr;
patlen = sdslen(pat);
- /* The pattern is a no-op iff == "*" */
+ /* The pattern is a no-op if == "*" */
patnoop = (pat[0] == '*' && patlen == 1);
i += 2;