[or-cvs] remove redundant check

Nick Mathewson nickm at seul.org
Wed Mar 3 02:14:37 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv8750/src/or

Modified Files:
	main.c 
Log Message:
remove redundant check

Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -d -r1.185 -r1.186
--- main.c	3 Mar 2004 02:07:57 -0000	1.185
+++ main.c	3 Mar 2004 02:14:35 -0000	1.186
@@ -238,7 +238,7 @@
              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 {



More information about the tor-commits mailing list