aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-07 19:20:55 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-07 19:20:55 +0000
commit5c4da9dec68a90b8c497805be8af432818447378 (patch)
treece56f9921d7a78a42c8024025a1885414eb1b07d /src/or/control.c
parentbfe65db284eab9e2bc4d435034e0932fef48b27a (diff)
downloadtor-5c4da9dec68a90b8c497805be8af432818447378.tar.gz
tor-5c4da9dec68a90b8c497805be8af432818447378.zip
incomplete patch for matt's info controller signal term bug
svn:r4728
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/control.c b/src/or/control.c
index b9032742b2..ba65c4ebee 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -127,7 +127,6 @@ static char authentication_cookie[AUTHENTICATION_COOKIE_LEN];
static void connection_printf_to_buf(connection_t *conn, const char *format, ...)
CHECK_PRINTF(2,3);
-static void update_global_event_mask(void);
static void send_control0_message(connection_t *conn, uint16_t type,
uint32_t len, const char *body);
static void send_control_done(connection_t *conn);
@@ -204,8 +203,8 @@ log_severity_to_event(int severity)
/** Set <b>global_event_mask</b> to the bitwise OR of each live control
* connection's event_mask field. */
-static void
-update_global_event_mask(void)
+void
+control_update_global_event_mask(void)
{
connection_t **conns;
int n_conns, i;
@@ -847,7 +846,7 @@ handle_control_setevents(connection_t *conn, uint32_t len, const char *body)
}
conn->event_mask = event_mask;
- update_global_event_mask();
+ control_update_global_event_mask();
send_control_done(conn);
return 0;
}