mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
remove redundant check
svn:r1204
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user