summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-04-25 07:04:53 +0000
committerRoger Dingledine <arma@torproject.org>2007-04-25 07:04:53 +0000
commit7c5f65c2267e243dfc8bea9c899e8f04a078ca36 (patch)
treece2311678b856236e08616ac9a6b249af8f851ab /src/or
parent7b11f2c84399be65ec7f71c082ce21b83b99c860 (diff)
downloadtor-7c5f65c2267e243dfc8bea9c899e8f04a078ca36.tar.gz
tor-7c5f65c2267e243dfc8bea9c899e8f04a078ca36.zip
fix an assert error in r9995 (unlikely to happen, but still)
svn:r10024
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index f2b67d6e86..d21882732e 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -454,7 +454,7 @@ directory_initiate_command(const char *address, uint32_t addr,
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 @@ directory_initiate_command(const char *address, uint32_t addr,
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));