diff --git a/conev.c b/conev.c index c046d4e..b7c31bf 100644 --- a/conev.c +++ b/conev.c @@ -146,7 +146,7 @@ struct eval *next_event(struct poolhd *pool, int *offs, int *type) { while (1) { int i = *offs; - assert(i >= -1 && i < pool->count); + assert(i >= -1 && i < pool->max); if (i < 0) { i = (epoll_wait(pool->efd, pool->pevents, pool->max, -1) - 1); if (i < 0) { diff --git a/main.c b/main.c index 22ea01f..cdc1026 100644 --- a/main.c +++ b/main.c @@ -24,7 +24,7 @@ #define close(fd) closesocket(fd) #endif -#define VERSION "11.1" +#define VERSION "11.2" char oob_char[1] = "a"; char ip_option[1] = "\0";