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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index f38dc59a01..713a70cca4 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -4588,8 +4588,7 @@ pick_oos_victims, (int n))
++(conn_counts_by_type[c->type]);
/* Skip anything we would count as moribund */
- if (c->conn_array_index < 0 ||
- c->marked_for_close) {
+ if (connection_is_moribund(c)) {
continue;
}