diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-03 02:14:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-03 02:14:35 +0000 |
commit | 5a053a6a8119e01e76985872b812558f8db30dce (patch) | |
tree | 9612e8d9a693e6200b2a80da1f757a7a0d4931f8 /src | |
parent | 6379dbbe2a2d19f30468ce03ca1684f332df33c5 (diff) | |
download | tor-5a053a6a8119e01e76985872b812558f8db30dce.tar tor-5a053a6a8119e01e76985872b812558f8db30dce.tar.gz |
remove redundant check
svn:r1204
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 850616cba..c9b02d3be 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 { |