X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/c1ae36aea814e1bcb0f046a00b51ed46d7432c3b..49128f0b9da725de992e427fa341a837bcc2991b:/src/vm.c 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. */