[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] use a clearer argument for connection_ap_make_link()
commit 8251fe515001ee6c8a1c37f080caa3ed167e7798
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date: Thu Mar 24 19:57:39 2016 -0400
use a clearer argument for connection_ap_make_link()
that function calls it argument "want_onehop", so it makes more
sense to pass that boolean into it.
---
src/or/directory.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/or/directory.c b/src/or/directory.c
index 023d3f6..99091b5 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1199,9 +1199,7 @@ directory_initiate_command_rend(const tor_addr_port_t *or_addr_port,
conn->base_.address, conn->base_.port,
digest,
SESSION_GROUP_DIRCONN, iso_flags,
- /* XXX dirconn_direct is misleading below. we should use
- * !anonymized_connection, since that's what we mean. */
- use_begindir, conn->dirconn_direct);
+ use_begindir, !anonymized_connection);
if (!linked_conn) {
log_warn(LD_NET,"Making tunnel to dirserver failed.");
connection_mark_for_close(TO_CONN(conn));
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits