summaryrefslogtreecommitdiff
path: root/src/feature/control
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-07-25 09:03:01 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-07-25 09:03:01 -0400
commitcfb15d513dfdd64119d5e2aca94a61256bc2e00e (patch)
treea7606855688d4fc6021085cbaf4de573a7d4ce43 /src/feature/control
parent7082cc16841f29183187dfa369749942cf8f1564 (diff)
parent2a4b156978c8f25c6c5850a393f27fcbfba5466a (diff)
downloadtor-cfb15d513dfdd64119d5e2aca94a61256bc2e00e.tar.gz
tor-cfb15d513dfdd64119d5e2aca94a61256bc2e00e.zip
Merge branch 'maint-0.4.1'
Diffstat (limited to 'src/feature/control')
-rw-r--r--src/feature/control/control_events.c2
-rw-r--r--src/feature/control/control_events.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/feature/control/control_events.c b/src/feature/control/control_events.c
index e596a8aee2..9e0966ca54 100644
--- a/src/feature/control/control_events.c
+++ b/src/feature/control/control_events.c
@@ -1287,7 +1287,7 @@ enable_control_logging(void)
/** We got a log message: tell any interested control connections. */
void
-control_event_logmsg(int severity, uint32_t domain, const char *msg)
+control_event_logmsg(int severity, log_domain_mask_t domain, const char *msg)
{
int event;
diff --git a/src/feature/control/control_events.h b/src/feature/control/control_events.h
index 0bdbb9cfd2..34986fdb89 100644
--- a/src/feature/control/control_events.h
+++ b/src/feature/control/control_events.h
@@ -128,7 +128,8 @@ int control_event_circ_bandwidth_used_for_circ(origin_circuit_t *ocirc);
int control_event_conn_bandwidth(connection_t *conn);
int control_event_conn_bandwidth_used(void);
int control_event_circuit_cell_stats(void);
-void control_event_logmsg(int severity, uint32_t domain, const char *msg);
+void control_event_logmsg(int severity, log_domain_mask_t domain,
+ const char *msg);
void control_event_logmsg_pending(void);
int control_event_descriptors_changed(smartlist_t *routers);
int control_event_address_mapped(const char *from, const char *to,