summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-08-20 04:43:01 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-20 04:43:01 +0000
commit9a09513c0bd54abae3317be4136cf2578e11fbf3 (patch)
treeaa2c6e82624974f1116ba8859ed8b7965fa2f8fe /src/or/connection.c
parent31028af4404c06088ea1eb47309ce8c3154150f1 (diff)
downloadtor-9a09513c0bd54abae3317be4136cf2578e11fbf3.tar.gz
tor-9a09513c0bd54abae3317be4136cf2578e11fbf3.zip
Use connection_mark_for_close() rather than connection_mark_on_flush() on OOS
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index daa11eeb57..9b583f4243 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -4653,12 +4653,12 @@ kill_conn_list_for_oos, (smartlist_t *conns))
if (c->type == CONN_TYPE_OR) {
connection_or_close_for_error(TO_OR_CONN(c), 1);
} else {
- connection_mark_and_flush(c);
+ connection_mark_for_close(c);
}
} SMARTLIST_FOREACH_END(c);
log_notice(LD_NET,
- "OOS handler marked and flushed %d connections",
+ "OOS handler marked %d connections",
smartlist_len(conns));
}