mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 13:24:43 -04:00
Fixed bug using wrong variable in max event compare
This commit is contained in:
parent
5173bef50f
commit
efbd3dcf28
2
event.c
2
event.c
@ -3071,7 +3071,7 @@ timeout_process(struct event_base *base)
|
||||
((base)->event_count -= (~((flags) >> 4) & 1))
|
||||
#define INCR_EVENT_COUNT(base,flags) do { \
|
||||
((base)->event_count += (~((flags) >> 4) & 1)); \
|
||||
MAX_EVENT_COUNT((base)->event_count_max, (base)->event_count_max); \
|
||||
MAX_EVENT_COUNT((base)->event_count_max, (base)->event_count); \
|
||||
} while (0)
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user