[or-cvs] [tor/master 2/2] Remove a needless keep_open_until_flushed

nickm at torproject.org nickm at torproject.org
Wed Sep 8 14:25:16 UTC 2010


Author: Nick Mathewson <nickm at torproject.org>
Date: Wed, 8 Sep 2010 10:23:29 -0400
Subject: Remove a needless keep_open_until_flushed
Commit: 2bc82324d5051e5233a9332dd5958d5ca60c2931

---
 src/or/main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/or/main.c b/src/or/main.c
index 174c874..af2bf52 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -741,8 +741,6 @@ run_connection_housekeeping(int i, time_t now)
       log_info(LD_OR,"Expiring non-open OR connection to fd %d (%s:%d).",
                conn->s,conn->address, conn->port);
       connection_mark_for_close(conn);
-      conn->hold_open_until_flushed = 1; /* XXXX why? I think we can remove
-                                          * this. -NM */
     }
   } else if (we_are_hibernating() && !or_conn->n_circuits &&
              !buf_datalen(conn->outbuf)) {
-- 
1.7.1



More information about the tor-commits mailing list