From 3911a9e37e287a14ab15fce6d225c26e1450caae Mon Sep 17 00:00:00 2001 From: ruti <> Date: Thu, 25 Jul 2024 15:06:27 +0300 Subject: [PATCH] Bump version, fix assert cond --- conev.c | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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";