[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] remove redundant check



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 {