diff options
author | teor <teor2345@gmail.com> | 2015-03-22 14:22:56 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2015-03-22 14:24:41 +1100 |
commit | 99c10a95e408f8800e373735fd9a1eca0acc4df8 (patch) | |
tree | 9fc85005c8dc99d13a60de6d9497c91a21d76304 /src/or/control.c | |
parent | 98c3942162831ddccea9dcf149d4c7f12b0a52a9 (diff) | |
download | tor-99c10a95e408f8800e373735fd9a1eca0acc4df8.tar.gz tor-99c10a95e408f8800e373735fd9a1eca0acc4df8.zip |
Add unit tests for control_event_is_interesting()
Part of ticket 15431, checks for bugs similar to 13085.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 34d539bcc4..5ec97bd9af 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -72,7 +72,7 @@ static int disable_log_messages = 0; /** Macro: true if any control connection is interested in events of type * <b>e</b>. */ #define EVENT_IS_INTERESTING(e) \ - (!! (global_event_mask & (((uint64_t)1)<<(e)))) + (!! (global_event_mask & EVENT_MASK_(e))) /** If we're using cookie-type authentication, how long should our cookies be? */ |