]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: ioloop-epoll didn't correctly check if there were any IO events.
authorTimo Sirainen <tss@iki.fi>
Fri, 11 Jul 2014 08:14:41 +0000 (11:14 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 11 Jul 2014 08:14:41 +0000 (11:14 +0300)
commit9097014815990de521654305dec6a8d5d29407f2
tree1a4206df6fae69f05f0b7fdea341088a6a7e6a41
parent301b1524a822cec7b79856e8c599112c754bc4c0
lib: ioloop-epoll didn't correctly check if there were any IO events.
Alternatively we could have checked for array_count(&ctx->events) >
ctx->deleted_count, but this code is a bit more understandable.

This change doesn't actually fix any proper bugs, it just causes the process
to crash instead of going to infinite wait loop.
src/lib/ioloop-epoll.c