]> git.saurik.com Git - redis.git/commitdiff
Removed a useless if spotted by Pieter Noordhuis
authorantirez <antirez@gmail.com>
Fri, 26 Mar 2010 10:21:11 +0000 (11:21 +0100)
committerantirez <antirez@gmail.com>
Fri, 26 Mar 2010 10:21:11 +0000 (11:21 +0100)
redis.c

diff --git a/redis.c b/redis.c
index 43ff275ce6267a43620eb10d98ca1fa2851958c2..03f90a02f36c3588868597bb4c70f44ba52e6dfd 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -2437,8 +2437,7 @@ static void readQueryFromClient(aeEventLoop *el, int fd, void *privdata, int mas
     } else {
         return;
     }
-    if (!(c->flags & REDIS_BLOCKED))
-        processInputBuffer(c);
+    processInputBuffer(c);
 }
 
 static int selectDb(redisClient *c, int id) {