summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-08-27 17:06:36 +0200
committerantirez <antirez@gmail.com>2010-08-27 17:06:36 +0200
commite5f257c2b2f7be0d58ebc0cf791d549c647cab6b (patch)
treef5b466d0b7e11c06d58f78d7d7daa678a4b3f49c
parentc1ae36aea814e1bcb0f046a00b51ed46d7432c3b (diff)
downloadredis-e5f257c2b2f7be0d58ebc0cf791d549c647cab6b.tar.gz
fix for the prev fix
-rw-r--r--src/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm.c b/src/vm.c
index 6c0d79b02..50fb326db 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -566,7 +566,7 @@ 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. */