From 29a8c8d20b13d297cfd4a1f473727d15e9c3b2dc Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 3 Sep 2010 11:44:05 +0200 Subject: [PATCH] fix for the above fix --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index 5f5bdb38..e260082e 100644 --- a/redis.c +++ b/redis.c @@ -9383,7 +9383,7 @@ static void vmThreadedIOCompletedJob(aeEventLoop *el, int fd, void *privdata, REDIS_NOTUSED(mask); REDIS_NOTUSED(privdata); - if (privdata == NULL) trytoswap = 0; /* check the comments above... */ + if (privdata != NULL) trytoswap = 0; /* check the comments above... */ /* For every byte we read in the read side of the pipe, there is one * I/O job completed to process. */