Don't skip events when a devpoll-like engine deletes a socket.
authorMichael Poole <mdpoole@troilus.org>
Tue, 6 Aug 2013 03:04:54 +0000 (23:04 -0400)
committerMichael Poole <mdpoole@troilus.org>
Tue, 6 Aug 2013 03:04:54 +0000 (23:04 -0400)
engine_delete() might replace polls[polls_i] with polls[--polls_used],
but neither it nor engine_loop() decremented polls_i so that the moved
event would be processed.  We can eliminate polls_i while fixing it.


No differences found