mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
remove redundant check
svn:r1204
This commit is contained in:
parent
6379dbbe2a
commit
5a053a6a81
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue