mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 14:25:44 +00:00
Bump version, fix assert cond
This commit is contained in:
parent
f4c55af73a
commit
3911a9e37e
2
conev.c
2
conev.c
@ -146,7 +146,7 @@ struct eval *next_event(struct poolhd *pool, int *offs, int *type)
|
|||||||
{
|
{
|
||||||
while (1) {
|
while (1) {
|
||||||
int i = *offs;
|
int i = *offs;
|
||||||
assert(i >= -1 && i < pool->count);
|
assert(i >= -1 && i < pool->max);
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
i = (epoll_wait(pool->efd, pool->pevents, pool->max, -1) - 1);
|
i = (epoll_wait(pool->efd, pool->pevents, pool->max, -1) - 1);
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user