From: antirez Date: Fri, 27 Aug 2010 15:06:36 +0000 (+0200) Subject: fix for the prev fix X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/e5f257c2b2f7be0d58ebc0cf791d549c647cab6b fix for the prev fix --- diff --git a/src/vm.c b/src/vm.c index 6c0d79b0..50fb326d 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. */