summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2015-03-22 14:22:56 +1100
committerteor <teor2345@gmail.com>2015-03-22 14:24:41 +1100
commit99c10a95e408f8800e373735fd9a1eca0acc4df8 (patch)
tree9fc85005c8dc99d13a60de6d9497c91a21d76304 /src/or/control.c
parent98c3942162831ddccea9dcf149d4c7f12b0a52a9 (diff)
downloadtor-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.c2
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?
*/