Fixed bug using wrong variable in max event compare

This commit is contained in:
Andrew Sweeney 2014-01-05 16:29:52 -05:00
parent 5173bef50f
commit efbd3dcf28

View File

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