[or-cvs] r10024: fix an assert error in r9995 (unlikely to happen, but still) (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Wed Apr 25 07:04:54 UTC 2007
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));
More information about the tor-commits
mailing list