summaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-03-27 15:58:43 -0400
committerNick Mathewson <nickm@torproject.org>2014-03-27 15:58:43 -0400
commitb0bbe6b2f1d8f0f2c83565f94d8a7dc5c5f72a91 (patch)
tree237ea0a4481d6ad83954959689ad3c52f6584e71 /src/or/control.h
parent0f395a7c064c314ca9dff4ac076b10461cc9b8c3 (diff)
downloadtor-b0bbe6b2f1d8f0f2c83565f94d8a7dc5c5f72a91.tar.gz
tor-b0bbe6b2f1d8f0f2c83565f94d8a7dc5c5f72a91.zip
Report only the first bootstrap failure from an orconn
Otherwise, when we report "identity mismatch", we then later report DONE when the connection gets closed. Fixes bug 10431; bugfix on 0.2.1.1-alpha.
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h
index ce605a1208..988c171d7f 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -94,7 +94,7 @@ void monitor_owning_controller_process(const char *process_spec);
void control_event_bootstrap(bootstrap_status_t status, int progress);
MOCK_DECL(void, control_event_bootstrap_problem,(const char *warn,
int reason,
- const or_connection_t *or_conn));
+ or_connection_t *or_conn));
void control_event_clients_seen(const char *controller_str);
void control_event_transport_launched(const char *mode,