diff options
author | Roger Dingledine <arma@torproject.org> | 2016-03-24 19:57:39 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2016-03-24 19:57:39 -0400 |
commit | 8251fe515001ee6c8a1c37f080caa3ed167e7798 (patch) | |
tree | 5825893a054bfeb2afc367daae1f9c037554e8f2 /src | |
parent | 98abd49f6f688d1bc35bfa4329dc7d649463f8bf (diff) | |
download | tor-8251fe515001ee6c8a1c37f080caa3ed167e7798.tar.gz tor-8251fe515001ee6c8a1c37f080caa3ed167e7798.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 023d3f6ace..99091b5100 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)); |