mirror of
https://github.com/hufrea/byedpi.git
synced 2025-02-18 01:10:06 +03:00
Bump version, fix assert cond
This commit is contained in:
parent
f4c55af73a
commit
3911a9e37e
2 changed files with 2 additions and 2 deletions
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) {
|
||||||
|
|
2
main.c
2
main.c
|
@ -24,7 +24,7 @@
|
||||||
#define close(fd) closesocket(fd)
|
#define close(fd) closesocket(fd)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define VERSION "11.1"
|
#define VERSION "11.2"
|
||||||
|
|
||||||
char oob_char[1] = "a";
|
char oob_char[1] = "a";
|
||||||
char ip_option[1] = "\0";
|
char ip_option[1] = "\0";
|
||||||
|
|
Loading…
Add table
Reference in a new issue