fix for the above fix

This commit is contained in:
antirez
2010-09-03 11:44:05 +02:00
parent 7caf0591a7
commit 29a8c8d20b

View File

@ -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. */