summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 850616cba6..c9b02d3be5 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -238,7 +238,7 @@ static void conn_close_if_marked(int i) {
conn->s, conn->type, conn->state);
if(connection_speaks_cells(conn)) {
- if(conn->state == OR_CONN_STATE_OPEN && conn->outbuf_flushlen) {
+ if(conn->state == OR_CONN_STATE_OPEN) {
flush_buf_tls(conn->tls, conn->outbuf, &conn->outbuf_flushlen);
}
} else {