summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 408fbec17b..2c3cbab134 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2876,7 +2876,7 @@ assert_connection_ok(connection_t *conn, time_t now)
assert_buf_ok(conn->outbuf);
}
- if (conn->chosen_exit_optional) {
+ if (conn->chosen_exit_optional || conn->chosen_exit_retries) {
tor_assert(conn->type == CONN_TYPE_AP);
tor_assert((TO_EDGE_CONN(conn))->chosen_exit_name);
}