diff options
author | Andrew Sweeney <asweeney86@gmail.com> | 2014-01-05 16:29:52 -0500 |
---|---|---|
committer | Andrew Sweeney <asweeney86@gmail.com> | 2014-01-05 16:29:52 -0500 |
commit | efbd3dcf287d69baf40aaf8452198177f5af0a2b (patch) | |
tree | bd7797b502250ff61215b778c269faf578e41bda /event.c | |
parent | 5173bef50ff8ff389598c8d9301a7b77ffae8315 (diff) | |
download | libevent-efbd3dcf287d69baf40aaf8452198177f5af0a2b.tar.gz |
Fixed bug using wrong variable in max event compare
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |