From 5a053a6a8119e01e76985872b812558f8db30dce Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 3 Mar 2004 02:14:35 +0000 Subject: remove redundant check svn:r1204 --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-54-g00ecf