[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10024: fix an assert error in r9995 (unlikely to happen, but still) (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r10024: fix an assert error in r9995 (unlikely to happen, but still) (tor/trunk/src/or)
- From: arma@xxxxxxxx
- Date: Wed, 25 Apr 2007 03:04:54 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 25 Apr 2007 03:05:02 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2007-04-25 03:04:53 -0400 (Wed, 25 Apr 2007)
New Revision: 10024
Modified:
   tor/trunk/src/or/directory.c
Log:
fix an assert error in r9995 (unlikely to happen, but still)
Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2007-04-25 06:10:16 UTC (rev 10023)
+++ tor/trunk/src/or/directory.c	2007-04-25 07:04:53 UTC (rev 10024)
@@ -454,7 +454,7 @@
     edge_connection_t *linked_conn;
     /* make an AP connection
      * populate it and add it at the right state
-     * socketpair and hook up both sides
+     * hook up both sides
      */
     conn->dirconn_direct = 0;
     linked_conn =
@@ -466,7 +466,6 @@
     if (!linked_conn) {
       log_warn(LD_NET,"Making AP bridge to dirserver failed.");
       connection_mark_for_close(TO_CONN(conn));
-      connection_mark_for_close(TO_CONN(linked_conn));
       return;
     }
     connection_link_connections(TO_CONN(conn), TO_CONN(linked_conn));