From 854b8be616dfd4f51adb925ec4bb9dc6a54aefe3 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 25 Oct 2013 12:00:13 +0200 Subject: [PATCH] Revert "Fixed typo in SCAN comment. iff -> if." Probably here Pieter means "if and only if". This reverts commit 43fdf3b404413f6e3b2c39ac491238c70ecee81c. --- src/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.c b/src/db.c index dee09d9ade..b3a6f493b8 100644 --- a/src/db.c +++ b/src/db.c @@ -352,7 +352,7 @@ void scanCommand(redisClient *c) { pat = c->argv[i+1]->ptr; patlen = sdslen(pat); - /* The pattern is a no-op if == "*" */ + /* The pattern is a no-op iff == "*" */ patnoop = (pat[0] == '*' && patlen == 1); i += 2;