Bump version, fix assert cond

This commit is contained in:
ruti 2024-07-25 15:06:27 +03:00
parent f4c55af73a
commit 3911a9e37e
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

2
main.c
View File

@ -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";