summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-22 01:52:57 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-22 01:52:57 -0400
commitc9cb4f0a0e9eb3411dfdc446e4543d48b152f8f5 (patch)
tree1485273a5c7a691d43b7ab8cf4bc8d9ae9f55e31 /src/or/directory.c
parent31f22505a6ddc802c00ffbcb0563bc3ddcc7092a (diff)
downloadtor-c9cb4f0a0e9eb3411dfdc446e4543d48b152f8f5.tar.gz
tor-c9cb4f0a0e9eb3411dfdc446e4543d48b152f8f5.zip
Rename has_completed_circuit to can_complete_circuit
Also redocument it. Related to #1362.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index ffa312bc41..b109cb53a7 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -126,7 +126,7 @@ purpose_needs_anonymity(uint8_t dir_purpose, uint8_t router_purpose)
{
if (get_options()->AllDirActionsPrivate)
return 1;
- if (router_purpose == ROUTER_PURPOSE_BRIDGE && has_completed_circuit)
+ if (router_purpose == ROUTER_PURPOSE_BRIDGE && can_complete_circuit)
return 1; /* if no circuits yet, we may need this info to bootstrap. */
if (dir_purpose == DIR_PURPOSE_UPLOAD_DIR ||
dir_purpose == DIR_PURPOSE_UPLOAD_VOTE ||