remove redundant check

svn:r1204
This commit is contained in:
Nick Mathewson 2004-03-03 02:14:35 +00:00
parent 6379dbbe2a
commit 5a053a6a81

View file

@ -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 {