aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_extorport.c
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/test/test_extorport.c
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/test/test_extorport.c')
-rw-r--r--src/test/test_extorport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c
index b34f5e38de..f91ac7415e 100644
--- a/src/test/test_extorport.c
+++ b/src/test/test_extorport.c
@@ -364,7 +364,7 @@ test_ext_or_cookie_auth_testvec(void *arg)
static void
ignore_bootstrap_problem(const char *warn, int reason,
- const or_connection_t *conn)
+ or_connection_t *conn)
{
(void)warn;
(void)reason;