Browse Source

remove redundant check

svn:r1204
Nick Mathewson 20 years ago
parent
commit
5a053a6a81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/main.c

+ 1 - 1
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 {